XML 22 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 248,239 $ (50,723)
Adjustments to reconcile net income (loss) to net cash flows from operating activities:    
Depreciation expense 17,983 16,946
Amortization expense of assets and liabilities, net 1,128 890
Gain on involuntary conversion (4,454) 0
Accretion of convertible note discount 2,651 2,685
Change in fair value of contingent consideration (8,669) 565
Change in fair value of convertible debt conversion liability 0 32,718
Gain on sale of assets (977) 0
Gain on debt extinguishment (2,105) 0
Provision for doubtful accounts 144 202
IMPAIRMENT OF PROPERTY, PLANT AND EQUIPMENT 0 1,341
Stock compensation expense 3,997 2,996
Deferred tax expense 2,584 2,350
Other operating activities (360) 54
Changes in assets and liabilities:    
Accounts receivable, net (1,025) 97,978
Inventories (6,625) 11,638
Prepaid expenses and other assets 7,715 (50,926)
Accounts payable 42,619 (24,558)
Accrued expenses and other liabilities 451 (18,798)
Deferred revenue (2,058) (26,844)
Net cash flows provided by (used in) operating activities 301,238 (1,486)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Cash receipts for involuntary conversion 4,454 0
Cash receipts of restricted cash 0 4,000
Cash paid for purchase of property, plant and equipment (29,180) (32,037)
Cash receipts for sale of assets 1,599 0
Cash paid for acquisitions and additional interests, net of cash acquired 0 (3,518)
Cash paid for investments 0 (816)
Net cash flows used in investing activities (23,127) (32,371)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Net borrowings (repayments) on revolving line of credit (57,288) 16,125
Borrowings on other lines of credit 28,477 3,278
Repayments on other lines of credit (28,712) (3,000)
Cash received from notes payable 10,933 0
Cash paid on notes payable (53,313) (4,038)
Cash paid for debt issuance costs (249) (703)
Cash paid for treasury stock (25,048) 0
Cash paid for contingent consideration settlement (5,659) (7,678)
Cash received on partial termination of capped call options 85 0
Cash paid for conversion of restricted stock units and stock appreciation rights (2,889) 0
Net cash flows provided by (used in) financing activities (133,663) 3,984
NET CHANGE IN CASH AND CASH EQUIVALENTS 144,448 (29,873)
CASH AND CASH EQUIVALENTS, Beginning of period 77,627 116,210
Effect of exchange rate changes on cash (300) 1,254
CASH AND CASH EQUIVALENTS, End of period 221,775 87,591
SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:    
Cash paid for income taxes 613 214
Cash paid for interest 6,694 5,560
Amounts included in period-end accounts payable for:    
Purchases of property, plant and equipment 1,511 3,166
Debt issuance cost 0 94
Accruals of insurance proceeds related to impairment of property, plant and equipment $ 0 $ 1,846