c. Cash flow analysis i. Free Cash flow Net cash provided by operating activities - cash payments planned for investments in long term assets - cash dividends ii. % cash generated from operations Cash generated from operations/total cash generated for the current year iii. % of total cash generated/(lost) this year Cash generated for the current year/closing cash balance. CONSOLIDATED STATEMENTS OF CASH FLOWS (in thousands) Years Ended December 31, 2018 2019 (59,937) $ (8,857) 15,669 85,175 704 8,389 37,674 876 531 342 1,128 (2) 352 (357) (50,673) (2,953) (306) Cash flows from operating activities: Net loss Adjustments to reconcile net loss to net cash provided by operating activities: Depreciation and amortization Stock-based compensation expense Provision for doubtful accounts Change in fair value of preferred stock warrant liability Noncash interest expense (Gain) Loss from exit of facilities and disposal of property and equipment Loss from extinguishment of debt Impairment of long-lived assets Amortization of premiums on short-term investments Changes in operating assets and liabilities: Accounts receivable Inventories Prepaid expenses and other current assets Operating lease right-of-use assets Deferred cost of revenue Other noncurrent assets Accounts payable Accrued liabilities Operating lease liabilities Other long-term liabilities Deferred revenue Net cash provided by operating activities Cash flows from investing activities: Purchase of property and equipment Purchase of business, net of cash acquired Purchase of intangible assets Purchases of short-term investments Sales/maturities of short-term investments Change in deposits Netrash used in investing activities 854 (282) (110,225) (14,129) (11,566) 22,328 1,143 (3,060) 9,409 79,058 11,658 (3,024) (10,597 13.707 2,261 (732) (98) 17,914 (1,101) 10,063 13,922 (18,327) (77,180) (68,132) (7.428) (12,365) 54,810 (53,806) 12,000 (110 2951 (133) (110,295 (60,133 99,608 28,181 330,539 (500) 25,025 Change in deposits Net cash used in investing activities Cash flows from financing activities: Proceeds from borrowings, net of issuance costs Repayments of borrowings Holdback payment for a prior business acquisition Proceeds from equity issued under incentive plans, net of repurchases Proceeds from equity issued under at-the-market program, net of offering costs Proceeds from issuance of common stock pursuant to an initial public offering, net of issuance costs Net cash provided by financing activities Net Increase (Decrease) in cash, cash equivalents and restricted cash Effect of exchange rate changes on cash, cash equivalents and restricted cash Cash, cash equivalents and restricted cash-Beginning of period Cash, cash equivalents and restricted cash-End of period Cash, cash equivalents and restricted cash at end of period: Cash and cash equivalents Restricted cash Cash, cash equivalents and restricted cash - End of period 24,525 (21,686) 458,328 361,740 29 155,564 517333 177,250 155,564 155,564 515,479 1,854 517333 155,564