v3.19.3
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ (121,447) $ 273,242
Net income (loss) from discontinuing operations (8,672) 885
Net income (loss) from continuing operations (112,775) 272,357
Adjustments to reconcile net income (loss) to net cash flows from operating activities:    
Depreciation expense 27,349 26,720
Amortization expense of assets and liabilities, net 16,170 958
Gain on involuntary conversion 0 (4,454)
Accretion of convertible note discount 2,561 3,846
Amortization of marketable securities (146) (45)
Change in fair value of contingent consideration 566 673
Gain on sale of assets 0 (964)
(Gain) loss on debt extinguishment 2 (2,893)
Provision for doubtful accounts 17 224
Impairment of property, plant and equipment 11,613 0
Stock compensation expense 4,981 5,224
Deferred tax expense (1,159) 3,408
Other operating activities 212 602
Changes in assets and liabilities:    
Accounts receivable, net (7,227) (146)
Inventories 5,437 (6,119)
Prepaid expenses and other assets 2,947 32,182
Accounts payable (6,694) 17,988
Accrued expenses and other liabilities 1,952 (9,215)
Operating lease obligations (13,778) 0
Deferred revenue 655 (745)
Net cash flows (used in) provided by operating activities - continuing operations (67,317) 339,601
Net cash flows used in operating activities - discontinuing operations (9,832) (11,050)
Cash (used in) provided by operating activities (77,149) 328,551
CASH FLOWS FROM INVESTING ACTIVITIES:    
Cash paid for marketable securities (3,478) (52,878)
Cash received from maturities of marketable securities 54,584 0
Cash receipts for involuntary conversion 0 4,454
Cash paid for purchase of property, plant and equipment (31,088) (37,581)
Cash receipts for sale of assets 0 1,625
Cash paid for acquisitions and additional interests, net of cash acquired 0 (4,801)
Cash paid for investments (2,713) 0
Net cash flows provided by (used in) investing activities - continuing operations 17,305 (89,181)
Net cash flows provided by (used in) investing activities - discontinuing operations 3,100 (335)
Cash provided by (used in) investing activities 20,405 (89,516)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Net borrowings (repayments) on revolving line of credit 77,758 (57,288)
Borrowings on other lines of credit 66,186 55,047
Repayments on other lines of credit (60,918) (56,165)
Cash received from notes payable 0 14,034
Cash paid on notes payable (73,067) (74,788)
Cash paid for debt issuance costs (70) (532)
Cash paid for treasury stock 0 (25,048)
Cash paid for contingent consideration settlement (9,003) (8,746)
Cash received on partial termination of capped call options 0 85
Cash paid for conversion of restricted stock units and stock appreciation rights (3,517) (3,411)
Net cash flows used in financing activities - continuing operations (2,631) (156,812)
Net cash flows used in financing activities - discontinuing operations 0 0
Cash used in financing activities (2,631) (156,812)
NET CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (59,375) 82,223
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, Beginning of period 126,575 77,627
Effect of exchange rate changes on cash (107) (218)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, End of period 67,093 159,632
SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:    
Cash paid for income taxes 1,515 612
Cash paid for interest 6,007 7,500
Leased assets obtained in exchange for new operating lease liabilities 11,347 0
Amounts included in period-end accounts payable for:    
Purchases of property, plant and equipment 7,824 2,117
Contingent consideration for acquisitions 0 482
Issuance of treasury stock to settle 2019 Convertible Senior Notes conversion premium (18,779) 0
Receipt in treasury stock for settlement of capped call options $ 8,952 $ 0

Source