XML 19 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Oct. 31, 2018
Oct. 31, 2017
Cash flows from operating activities        
Net loss $ (153,331) $ (85,546) $ (313,897) $ (232,122)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Depreciation and amortization 57,602 34,727 138,492 100,025
Share-based compensation expenses 187,971 122,479 467,693 351,790
Amortization of deferred costs 18,165 14,519 51,586 42,165
Amortization of debt discount and issuance costs 12,342 12,257 47,971 25,992
Other (30,990) (1,133) (45,173) 5,052
Changes in operating assets and liabilities, net of business combinations:        
Trade and other receivables, net (9,379) 19,070 54,565 59,463
Deferred costs (33,226) (19,245) (69,775) (50,063)
Prepaid expenses and other assets (5,985) (11,355) (2,943) (23,373)
Accounts payable (12,148) (7,383) 1,793 2,830
Accrued expenses and other liabilities 63,896 59,171 60,341 49,788
Unearned revenue 19,379 6,470 (34,508) 7,632
Net cash provided by (used in) operating activities 114,296 144,031 356,145 339,179
Cash flows from investing activities        
Purchases of marketable securities (89,294) (930,783) (1,523,636) (1,829,231)
Maturities of marketable securities 369,771 372,389 1,711,652 1,185,730
Sales of marketable securities 3,388 32,886 945,685 222,823
Owned real estate projects (37,302) (27,616) (126,072) (80,151)
Capital expenditures, excluding owned real estate projects (55,427) (36,356) (157,635) (105,477)
Business combinations, net of cash acquired (1,447,600) 0 (1,474,337) 0
Purchase of other intangible assets 0 0 (1,000) 0
Purchases of non-marketable equity and other investments (29,375) (5,272) (32,775) (10,722)
Sales and maturities of non-marketable equity and other investments 17,771 294 17,771 1,026
Other (11) (1,000) (11) (1,000)
Net cash provided by (used in) investing activities (1,268,079) (595,458) (640,358) (617,002)
Cash flows from financing activities        
Proceeds from borrowings on convertible senior notes, net of issuance costs 0 1,132,101 0 1,132,101
Proceeds from issuance of warrants 0 80,805 0 80,805
Purchase of convertible senior notes hedges 0 (175,530) 0 (175,530)
Payments on convertible senior notes (3) 0 (350,008) 0
Proceeds from issuance of common stock from employee equity plans 2,767 1,974 44,064 36,501
Other (60) (36) (176) (112)
Net cash provided by (used in) financing activities 2,704 1,039,314 (306,120) 1,073,765
Effect of exchange rate changes (213) (322) (795) 261
Net increase (decrease) in cash, cash equivalents, and restricted cash (1,151,292) 587,565 (591,128) 796,203
Cash, cash equivalents, and restricted cash at the beginning of period 1,695,818 750,532 1,135,654 541,894
Cash, cash equivalents, and restricted cash at the end of period 544,526 1,338,097 544,526 1,338,097
Supplemental cash flow data        
Cash paid for interest, net of amounts capitalized 1 18 34 64
Cash paid for income taxes 633 651 3,839 3,259
Non-cash investing and financing activities:        
Vesting of early exercised stock options 0 106 0 670
Purchases of property and equipment, accrued but not paid 60,800 47,055 60,800 47,055
Non-cash additions to property and equipment $ 2,314 $ 649 $ 2,679 $ 1,276