v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Operating activities:    
Consolidated net (loss) income $ (27,132) $ 11,983
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 32,090 29,510
Impairment of strategic investment 9,003  
Amortization of non-cash interest 4,925 5,369
Stock-based compensation 4,134 7,017
Reserves on current assets 4,080 (1,998)
Other non-cash adjustments 4,456 3,013
Deferred income taxes (12,671) 1,440
Changes in operating assets and liabilities, net of effects from acquisitions:    
Accounts receivable 16,933 1,719
Inventory (12,126) (13,800)
Prepaid expenses and other current assets (1,737) (2,614)
Accounts payable and accrued liabilities 1,579 550
Accrued payroll and related expenses (18,493) (12,721)
Litigation liability 30,040  
Income taxes 1,294 (1,298)
Net cash provided by operating activities 36,375 28,170
Investing activities:    
Acquisitions and investments (51,794) (2,500)
Purchases of intangible assets (2,657) (1,249)
Purchases of property and equipment (29,109) (34,545)
Net cash used in investing activities (83,560) (38,294)
Financing activities:    
Proceeds from the issuance of common stock 336 410
Purchase of treasury stock (2,155) (10,356)
Payment of contingent consideration (8,900)  
Proceeds from revolving line of credit 65,000  
Repayments on revolving line of credit (10,000)  
Other financing activities (141) (181)
Net cash provided by (used in) financing activities 44,140 (10,127)
Effect of exchange rate changes on cash 982 758
Decrease in cash, cash equivalents and restricted cash (2,063) (19,493)
Cash, cash equivalents and restricted cash at beginning of period 78,198 161,048
Cash, cash equivalents and restricted cash at end of period $ 76,135 $ 141,555