XML 33 R8.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities:      
Net income (loss) $ 13,259 $ (9,183) $ (81,391)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 49,625 51,850 56,614
Provision for doubtful accounts, notes and inventory 2,586 1,857 19,835
Stock-based compensation expense 3,880 5,307 8,123
Change in fair value of derivative instruments 5,545 (9,788) (46)
Amortization of discount and debt issuance cost (728) (1,220) 847
Loss (gain) on disposal of property and equipment (2,536) 2,554 3,105
Gain on extinguishment of debt, net     (3,195)
Gain from sale of certain assets of subsidiary (7,455) (4,782) (70,658)
Asset impairments and other charges     58,061
Loss from formation of equity method investment   1,163 6,465
Loss from equity method investments 119 2,723 131
Right-of-use asset amortization 3,234    
Deferred income taxes 738   (2,400)
Changes in operating assets and liabilities, net of assets and liabilities acquired and disposed:      
Accounts and other receivables (63,408) (6,360) 6,881
Inventory 3,439 (1,065) 963
Prepaid expenses and other assets (16,617) 1,547 6,753
Operating lease liabilities (3,786)    
Accounts payable 9,316 679 (8,964)
Deferred revenue (3,528) 30 9,268
Accrued expenses and other 18,596 2,670 (14,709)
Net cash provided by (used in) operating activities 12,279 37,982 (4,317)
Cash flows from investing activities:      
Purchases of short-term investments (171,080) (348,091) (340,194)
Maturities and sales of short-term investments 180,704 425,804 272,220
Purchases of and deposits on property and equipment (27,088) (25,263) (36,307)
Loans made to customers     (894)
Payments on and proceeds from sales of loans receivable 608 518 1,102
Cash received from sale of certain assets of subsidiary, net 7,582 871 149,088
Cash contributed in formation of equity method investment     (2,404)
Investments in other entities     (1,928)
Proceeds from disposal of property and equipment 7,772 530  
Net cash provided by (used in) investing activities (1,502) 54,369 40,683
Cash flows from financing activities:      
Issuances of common stock 309 83,438 10,767
Fees paid for issuances of common stock, debt prepayment and debt issuance costs (123) (1,004) (638)
Proceeds from debt instruments and finance lease obligations 15,294 17,243 9,765
Proceeds from revolving line of credit     312
Repayments of borrowing under revolving line of credit     (23,812)
Repayments of debt instruments and finance lease obligations (7,795) (194,886) (30,707)
Payments to holders of stock options in subsidiaries     (8,850)
Net cash provided by (used in) financing activities 7,685 (95,209) (43,163)
Effect of exchange rates on cash, cash equivalents, and restricted cash 136 274 890
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect, Total 18,598 (2,584) (5,907)
Cash, cash equivalents and restricted cash, beginning of year 34,624 37,208 43,115
Cash, cash equivalents and restricted cash, end of year 53,222 34,624 37,208
Supplemental disclosure of cash flow information:      
Income taxes paid 36 257 344
Interest paid, net of $103, $244 and $441 capitalized, respectively $ 6,788 $ 16,751 $ 17,048