v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income (loss) $ 14,892 $ (25,429)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 40,561 44,318
Non-cash interest 4,981 5,022
Amortization of deferred financing costs 424 411
Losses from investments in investees 110 323
Equity-based compensation – employees and non-employees 6,107 4,037
Realized loss (gain) on disposal of fixed assets and sales of equity securities (3,146) 156
Loss on conversion of the 2025 Notes 11,111 0
Change in fair value of equity securities and derivative instruments 873 (6,515)
Change in fair value of contingent consideration (1,059) 251
Deferred income tax provision 2,479 1,028
Changes in assets and liabilities:    
Accounts receivable, net 20,352 (81,539)
Inventory, net (3,817) (21,905)
Other current assets and prepaid expenses (13,904) (2,619)
Other assets 1,388 (61)
Accounts payable (11,651) (16,753)
Foreign currency measurement (2,532) (2,077)
Contract liabilities (7,425) (4,026)
Accrued expenses and other liabilities (49,160) 47,585
Net cash provided by (used in) operating activities 10,584 (57,793)
Cash flows from investing activities:    
Proceeds from sale of investments 8,079 0
Proceeds from the sale of property, plant and equipment 165 65
Capital expenditures (18,192) (17,149)
Net cash used in investing activities (9,948) (17,084)
Cash flows from financing activities:    
Proceeds from the exercise of common stock options and warrants 466 0
Borrowings on lines of credit 982,797 393,651
Repayments of lines of credit (990,190) (382,374)
Net cash provided by (used in) financing activities (6,927) 11,277
Effect of exchange rate changes on cash and cash equivalents (163) (240)
Net decrease in cash and cash equivalents (6,454) (63,840)
Cash and cash equivalents at beginning of period 72,211 85,452
Cash and cash equivalents at end of period 65,757 21,612
SUPPLEMENTAL INFORMATION:    
Interest paid 4,883 5,578
Income taxes paid, net of refunds 3,690 (208)
Shares issued upon the conversion of:    
2025 Convertible Notes $ 68,775 $ 0

Source