v3.10.0.1
Consolidated Statements Of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash Flows From Operating Activities:    
Net income (loss) $ 3,753 $ (6,692)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation of property and equipment 3,314 1,830
Amortization of intangible assets 2,902 1,183
Accretion of notes payable   833
Amortization of debt issuance costs 371 11
(Gain) loss on disposition of assets 11 109
(Gain) loss from removal of accumulated translation adjustment 172 (149)
Stock-based compensation 2,067 729
Deferred income taxes (539) 446
Changes in operating assets and liabilities:    
Accounts receivable (4,007) (8,524)
Inventories (3,182) (8,274)
Prepaid and other assets 443 (808)
Accounts payable and accrued liabilities 2,421 3,489
Income taxes (114) (387)
Other   (374)
Net cash provided by (used in) operating activities 7,612 (16,578)
Cash Flows From Investing Activities:    
Purchase of businesses, net of cash received (345) (79,238)
Proceeds from disposition of property and equipment 5 53
Purchase of property and equipment (1,854) (1,919)
Net cash provided by (used in) investing activities (2,194) (81,104)
Cash Flows From Financing Activities:    
Proceeds from revolving credit facilities 101,331 36,232
Repayments on revolving credit facilities (99,572) (8,879)
Repayments of long-term debt and capital leases (29) (22,690)
Payment of debt issuance costs (1,032) (334)
Purchase of treasury stock (4,709) (17)
Proceeds from exercise of stock options 467 179
Cash dividends paid (741)  
Net cash provided by (used in) financing activities (4,285) 4,491
Effect of foreign exchange rates on cash 16 125
Change in cash 1,149 (93,066)
Cash, beginning of period 1,856 94,738
Cash, end of period 3,005 1,672
Supplemental Disclosure of Cash Flow Information:    
Cash paid (received) for income taxes 296 946
Cash paid for interest 700 284
Supplemental Disclosures of Non-Cash Investing and Financing Activities:    
Property and equipment purchased with accounts payable 155 $ 27
Property and equipment acquired through a capital lease $ 123  

Source