Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Statements of Cash Flows (unaudited)

v3.19.2
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ (105,501) $ 248,237
Net income (loss) from discontinuing operations (6,479) 1,353
Net income (loss) from continuing operations (99,022) 246,884
Adjustments to reconcile net income (loss) to net cash flows from operating activities:    
Depreciation expense 18,241 17,743
Amortization expense of assets and liabilities, net 10,316 596
Gain on involuntary conversion 0 (4,454)
Accretion of convertible note discount 2,092 2,651
Amortization of marketable securities (146) 0
Change in fair value of contingent consideration 702 488
Gain on sale of assets 0 (977)
(Gain) loss on debt extinguishment 2 (2,105)
Provision (benefit) for doubtful accounts (120) 144
Impairment of property, plant and equipment 468 0
Stock compensation expense 3,177 3,997
Deferred tax expense (530) 2,584
Other operating activities 76 (359)
Changes in assets and liabilities:    
Accounts receivable, net (1,798) (1,085)
Inventories (2,645) (6,625)
Prepaid expenses and other assets 3,997 30,498
Accounts payable 7,178 42,267
Accrued expenses and other liabilities (4,131) (17,032)
Operating lease obligations (8,231) 0
Deferred revenue 4,236 (2,058)
Net cash flows (used in) provided by operating activities - continuing operations (66,138) 313,157
Net cash flows used in operating activities - discontinuing operations (6,794) (1,619)
Cash (used in) provided by operating activities (72,932) 311,538
CASH FLOWS FROM INVESTING ACTIVITIES:    
Cash paid for marketable securities (3,478) 0
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 (18,032) (28,845)
Cash receipts for sale of assets 0 1,599
Cash paid for investments (1,203) 0
Net cash flows provided by (used in) investing activities - continuing operations 31,871 (22,792)
Net cash flows provided by (used in) investing activities - discontinuing operations 3,100 (335)
Cash provided by (used in) investing activities 34,971 (23,127)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Net borrowings (repayments) on revolving line of credit 54,490 (57,288)
Borrowings on other lines of credit 36,925 28,477
Repayments on other lines of credit (34,728) (28,712)
Cash received from notes payable 0 10,933
Cash paid on notes payable (71,068) (63,613)
Cash paid for debt issuance costs (58) (249)
Cash paid for treasury stock 0 (25,048)
Cash paid for contingent consideration settlement (6,128) (5,659)
Cash received on partial termination of capped call options 0 85
Cash paid for conversion of restricted stock units and stock appreciation rights (3,473) (2,889)
Net cash flows used in financing activities - continuing operations (24,040) (143,963)
Net cash flows used in financing activities - discontinuing operations 0 0
Cash used in financing activities (24,040) (143,963)
NET CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (62,001) 144,448
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, Beginning of period 126,575 77,627
Effect of exchange rate changes on cash 23 (300)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, End of period 64,597 221,775
SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:    
Cash paid for income taxes 1,259 613
Cash paid for interest 4,734 6,694
Leased assets obtained in exchange for new operating lease liabilities 8,528 0
Amounts included in period-end accounts payable for:    
Purchases of property, plant and equipment 5,446 1,511
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