XML 18 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash Flows From Operating Activities:    
Net loss attributable to the Company $ (66,658) $ (24,882)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation of property, plant and equipment, and leased property 4,183 1,528
Amortization of intangible assets 290 295
Stock-based compensation 4,792 4,377
Amortization of debt issuance costs 296 307
Provision for common stock warrants 8,513  
Loss on disposal of leased property   41
Provision for loss contracts related to service   (1,071)
Change in fair value of common stock warrant liability 14,576 (2,734)
Changes in operating assets and liabilities that provide (use) cash, net of effects of acquisitions:    
Accounts receivable (3,345) 9,973
Inventory (12,763) (2,176)
Prepaid expenses and other assets 66 (2,523)
Accounts payable, accrued expenses, product warranty reserve and other liabilities (6,746) 6,577
Accrual for loss contracts related to service (752) (3,559)
Deferred revenue (787) (1,914)
Net cash used in operating activities (58,335) (15,761)
Cash Flows From Investing Activities:    
Purchase of property, plant and equipment (1,057) (2,525)
Purchase for construction of leased property (19,488) (26,317)
Net cash used in investing activities (20,545) (28,842)
Cash Flows From Financing Activities:    
Change in restricted cash 2,590 (60)
Proceeds from exercise of warrants 17,702 111
Proceeds from exercise of stock options 37 19
Payments for redemption of preferred stock (3,700)  
Proceeds from public offerings, net of transaction costs 19,534  
Proceeds from short-term borrowing, net of transaction costs   23,874
Principal payments on short-term borrowings   (25,000)
Proceeds from borrowing of long-term debt, net of transaction costs 621 23,875
Principal payments on long-term debt (1,278)  
Increase in finance obligations (708) 23,795
Net cash provided by (used in) financing activities 34,798 46,614
Effect of exchange rate changes on cash 158 68
Decrease in cash and cash equivalents (43,924) 2,079
Cash and cash equivalents, beginning of period 46,014 63,961
Cash and cash equivalents, end of period 2,090 66,040
Other Supplemental Cash Flow Information:    
Cash paid for interest 1,946 $ 1,311
Summary of noncash investing and financing activities:    
Conversion of preferred stock to common stock $ 7,778