XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities:    
Net income (loss) $ (88,273) $ (22,348)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and Amortization 11,271 10,847
Write-off of property, plant and equipment, net 1 0
Revaluation of derivative contracts (453) 7,157
Stock-based compensation 63,882 7,956
Loss on long-term REC purchase contract 59 12
Revaluation of stock warrants 0 (3,271)
Common stock warrant valuation 0 (100)
Amortization of debt issuance cost 5,152 7,168
Changes in operating assets and liabilities:    
Accounts receivable 816 (28,203)
Inventories 15,932 (6,818)
Deferred cost of revenue 26,014 16,282
Customer financing receivable and other 1,339 1,306
Prepaid expenses and other current assets 5,194 (446)
Other long-term assets 83 1,266
Accounts payable (2,464) (827)
Accrued warranty (2,500) (87)
Accrued other current liabilities 823 (10,083)
Deferred revenue and customer deposits (44,533) (22,347)
Other long-term liabilities 3,487 8,049
Net cash used in operating activities (4,170) (34,487)
Cash flows from investing activities:    
Purchase of property, plant and equipment (8,543) (223)
Payments for acquisition of intangible assets (848) 0
Purchase of marketable securities 0 (8,991)
Proceeds from maturity of marketable securities 104,500 15,750
Net cash provided by investing activities 95,109 6,536
Cash flows from financing activities:    
Repayment of debt (5,016) (4,489)
Repayment of debt to related parties (778) (290)
Distributions to noncontrolling and redeemable noncontrolling interests (3,189) (3,832)
Proceeds from issuance of common stock 7,493 120
Payments of initial public offering issuance costs 0 (578)
Net cash used in financing activities (1,490) (9,069)
Net increase (decrease) in cash, cash equivalents, and restricted cash 89,449 (37,020)
Beginning of period 280,485 180,612
End of period 369,934 143,592
Supplemental disclosure of cash flow information:    
Cash paid during the period for interest 14,545 11,216
Cash paid during the period for taxes 222 401
Non-cash investing and financing activities:    
Liabilities recorded for property, plant and equipment 2,067 65
Liabilities recorded for intangible assets 0 362
Issuance of restricted stock 0 242
Accrued distributions to Equity Investors 282 282
Accrued interest and issuance for notes 439 7,808
Accrued interest and issuance for notes to related parties $ 0 $ 1,165