XML 18 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash Flows From Operating Activities:    
Net loss attributable to the Company $ (61,268) $ (107,641)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 8,592 6,596
Amortization of intangible assets 511 443
Stock-based compensation 6,389 7,288
Provision for bad debts 746  
Amortization of debt issuance costs and discount on convertible senior notes 4,436 496
Provision for common stock warrants 7,932 34,570
Change in fair value of common stock warrant liability (3,308) 16,454
Income tax benefit (7,581)  
Changes in operating assets and liabilities that provide (use) cash:    
Accounts receivable (9,390) (40,946)
Inventory 12,554 (14,747)
Prepaid expenses and other assets 1,272 (590)
Accounts payable, accrued expenses, and other liabilities (7,609) 6,524
Accrual for loss contracts related to service   (752)
Deferred revenue 5,082 11,011
Net cash used in operating activities (41,642) (81,294)
Cash Flows From Investing Activities:    
Purchases of property, plant and equipment (3,268) (1,820)
Purchase of intangible asset (879)  
Purchases for construction of leased property (13,381) (26,471)
Net cash used in investing activities (17,528) (28,291)
Cash Flows From Financing Activities:    
Proceeds from exercise of warrants, net of transaction costs   17,636
Proceeds from exercise of stock options 92 40
Payments for redemption of preferred stock   (3,700)
Proceeds from public offerings, net of transaction costs 4,912 20,664
Proceeds from issuance of convertible senior notes, net 95,856  
Purchase of capped call and common stock forward (43,500)  
Proceeds from borrowing of long-term debt, net of transaction costs   20,147
Principal payments on long-term debt (11,944) (4,261)
Proceeds from sale/leaseback transactions accounted for as finance obligations 32,938 26,280
Repayments of finance obligations (25,138) (11,616)
Net cash provided by financing activities 53,216 65,190
Effect of exchange rate changes on cash (49) 286
Decrease in cash, cash equivalents and restricted cash (6,003) (44,109)
Cash, cash equivalents, and restricted cash beginning of period 68,055 100,636
Cash, cash equivalents, and restricted cash end of period 62,052 56,527
Other Supplemental Cash Flow Information:    
Cash paid for interest 10,338 6,205
Summary of non-cash investing and financing activity:    
Recognition of right of use asset 58,577  
Net transfers between inventory, leased assets and property, plant and equipment 17,206  
Increase in property, plant and equipment financed as long-term debt or financing leases $ 408  
Conversion of preferred stock to common stock   $ 8,222