Quarter Ended March 31, 2020 and 2019
Quarter Ended March 31, | |||||||
(in thousands) | 2020 | 2019 | |||||
Cash flows from operating activities: | |||||||
Net loss | $ | (18,924 | ) | $ | (24,350 | ) | |
Adjustments to reconcile net loss to net cash used in operating activities: | |||||||
Depreciation and amortization | 11,690 | 13,144 | |||||
Stock-based compensation | 6,312 | 6,706 | |||||
Provision for bad debts | 817 | 219 | |||||
Loss on the disposition of property, equipment and other assets | 137 | — | |||||
Provision for deferred income taxes | (106 | ) | (498 | ) | |||
Impairment of assets | 1,100 | 180 | |||||
Changes in operating accounts: | |||||||
Accounts receivable | 1,568 | (2,928 | ) | ||||
Inventories | (2,694 | ) | (5,192 | ) | |||
Prepaid expenses and other current assets | (14,298 | ) | 354 | ||||
Accounts payable | 6,616 | (11,987 | ) | ||||
Deferred revenue and customer deposits | 10,242 | 11,811 | |||||
Accrued and other current liabilities | (8,068 | ) | (5,531 | ) | |||
All other operating activities | 3,323 | 2,914 | |||||
Net cash used in operating activities | (2,285 | ) | (15,158 | ) | |||
Cash flows from investing activities: | |||||||
Purchases of property and equipment | (4,366 | ) | (8,837 | ) | |||
Proceeds from sale of assets | 552 | — | |||||
Purchase of noncontrolling interest | (12,500 | ) | (2,500 | ) | |||
Other investing activities | (284 | ) | (37 | ) | |||
Net cash used in investing activities | (16,598 | ) | (11,374 | ) | |||
Cash flows from financing activities: | |||||||
Proceeds from borrowings | — | 100,000 | |||||
Repayment of borrowings/long term debt | (627 | ) | (25,000 | ) | |||
Proceeds from inventory financing agreements | 2,509 | — | |||||
Payments related to net-share settlement of stock based compensation | (949 | ) | (483 | ) | |||
Other financing activities | 296 | (780 | ) | ||||
Net cash provided by financing activities | 1,229 | 73,737 | |||||
Effect of exchange rate changes on cash, cash equivalents and restricted cash | (3,241 | ) | 57 | ||||
Net (decrease) increase in cash, cash equivalents and restricted cash | (20,895 | ) | 47,262 | ||||
Cash, cash equivalents and restricted cash at the beginning of the period (a) | 134,617 | 110,919 | |||||
Cash, cash equivalents and restricted cash at the end of the period (a) | $ | 113,722 | $ | 158,181 |