v3.20.2
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 77,701 $ (105,501)
Net income (loss) from discontinuing operations 0 (6,479)
Net income (loss) from continuing operations 77,701 (99,022)
Adjustments to reconcile net income (loss) to net cash flows from operating activities:    
Depreciation expense 18,037 18,241
Amortization expense of assets and liabilities, net 8,968 10,316
Accretion of convertible note discount 464 2,092
Amortization of marketable securities 111 (146)
Change in fair value of contingent consideration 0 702
Gain on sale of property, plant and equipment (187) 0
(Gain) loss on debt extinguishment (1,791) 2
Provision for doubtful accounts 509 (120)
Impairment of property, plant and equipment 0 468
Stock compensation expense 3,222 3,177
Deferred tax expense 1,855 (530)
Gain on lease termination (4,459) 0
Other operating activities 123 76
Changes in assets and liabilities:    
Accounts receivable, net 607,215 (1,798)
Inventories 1,257 (2,645)
Prepaid expenses and other assets (33,667) 3,997
Accounts payable (187,659) 7,178
Accrued expenses and other liabilities (18,665) (4,131)
Operating lease obligations (8,969) (8,231)
Deferred revenue (2,233) 4,236
Net cash flows provided by (used in) operating activities - continuing operations 461,832 (66,138)
Net cash flows used in operating activities - discontinuing operations 0 (6,794)
Cash provided by (used in) operating activities 461,832 (72,932)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Cash paid for marketable securities (179,476) (3,478)
Cash received from maturities of marketable securities 0 54,584
Cash paid for purchase of property, plant and equipment (31,048) (18,032)
Cash paid for investments 0 (1,203)
Other investing activities 187 0
Net cash flows (used in) provided by investing activities - continuing operations (210,337) 31,871
Net cash flows provided by investing activities - discontinuing operations 0 3,100
Cash (used in) provided by investing activities (210,337) 34,971
CASH FLOWS FROM FINANCING ACTIVITIES:    
Net (repayments) borrowings on revolving line of credit (76,990) 54,490
Borrowings on other lines of credit 0 36,925
Repayments on other lines of credit 0 (34,728)
Cash paid on notes payable (73,051) (71,068)
Cash paid for debt issuance costs 0 (58)
Cash paid for contingent consideration settlement 0 (6,128)
Cash paid for conversion of restricted stock units and stock appreciation rights (3,938) (3,473)
Net cash flows used in financing activities - continuing operations (153,979) (24,040)
Net cash flows used in financing activities - discontinuing operations 0 0
Cash used in financing activities (153,979) (24,040)
NET CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH 97,516 (62,001)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, Beginning of period 53,436 126,575
Effect of exchange rate changes on cash (2) 23
CASH, CASH EQUIVALENTS AND RESTRICTED CASH, End of period 150,950 64,597
SUPPLEMENTAL DISCLOSURES OF CASH FLOWS INFORMATION:    
Cash paid for income taxes 0 1,259
Cash paid for interest 3,724 4,734
Leased assets obtained in exchange for new operating lease liabilities 1,873 8,528
Amounts included in period-end accounts payable for:    
Purchases of property, plant and equipment 4,467 5,446
Issuance of treasury stock to settle 2019 Convertible Senior Notes conversion premium 0 (18,779)
Receipt in treasury stock for settlement of capped call options $ 0 $ 8,952

Source