XML 24 R8.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2017
Cash flows from operating activities      
Net loss $ (418,258) $ (321,222) $ (384,699)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 198,111 135,723 105,825
Share-based compensation expenses 652,465 478,425 372,272
Amortization of deferred costs 71,238 57,562 45,345
Amortization of debt discount and issuance costs 59,974 43,916 26,947
Other (53,195) (8,379) 23,013
Changes in operating assets and liabilities, net of business combinations:      
Trade and other receivables, net (160,527) (114,613) (91,755)
Deferred costs (131,996) (92,552) (82,848)
Prepaid expenses and other assets (16,344) (68,983) (16,794)
Accounts payable 5,877 (7,249) 6,336
Accrued expenses and other liabilities 54,895 47,515 23,367
Unearned revenue 344,418 315,584 323,617
Net cash provided by (used in) operating activities 606,658 465,727 350,626
Cash flows from investing activities      
Purchases of marketable securities (1,989,868) (2,515,997) (1,917,238)
Maturities of marketable securities 2,090,693 1,591,554 1,986,031
Sales of marketable securities 949,970 243,727 133,292
Business combinations, net of cash acquired (1,474,337) (5,744) (147,879)
Owned real estate projects (181,180) (124,811) (106,997)
Capital expenditures, excluding owned real estate projects (202,507) (141,536) (120,813)
Purchases of non-marketable equity and other investments (43,016) (16,199) (300)
Sales and maturities of non-marketable equity and other investments 17,911 1,026 5,315
Purchase of other intangible assets (10,450) (11,000) 0
Other 0 0 (296)
Net cash provided by (used in) investing activities (842,784) (978,980) (168,885)
Cash flows from financing activities      
Proceeds from borrowings on convertible senior notes, net of issuance costs 0 1,132,101 0
Proceeds from issuance of warrants 0 80,805 0
Purchase of convertible senior notes hedges 0 (175,530) 0
Payments on convertible senior notes (350,030) 0 0
Proceeds from issuance of common stock from employee equity plans 93,567 69,056 58,079
Other (248) (170) 1,602
Net cash provided by (used in) financing activities (256,711) 1,106,262 59,681
Effect of exchange rate changes (614) 751 385
Net increase (decrease) in cash, cash equivalents, and restricted cash (493,451) 593,760 241,807
Cash, cash equivalents, and restricted cash at the beginning of period 1,135,654 541,894 300,087
Cash, cash equivalents, and restricted cash at the end of period 642,203 1,135,654 541,894
Supplemental cash flow data      
Cash paid for interest, net of amounts capitalized 38 76 3,156
Cash paid for income taxes 6,007 3,418 5,315
Non-cash investing and financing activities:      
Vesting of early exercised stock options 0 775 1,803
Purchases of property and equipment, accrued but not paid 56,308 51,545 27,696
Non-cash additions to property and equipment $ 8,171 $ 5,396 $ 2,094