XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2019
Jul. 31, 2018
Cash flows from operating activities        
Net loss $ (120,712) $ (86,156) $ (236,987) $ (160,566)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Depreciation and amortization 67,754 42,226 128,919 80,890
Share-based compensation expenses 208,912 147,063 394,147 279,722
Amortization of deferred costs 22,002 17,061 42,882 33,421
Amortization of debt discount and issuance costs 14,301 17,490 25,888 35,629
Other 11,401 (4,894) 20,377 (14,183)
Changes in operating assets and liabilities, net of business combinations:        
Trade and other receivables, net (73,437) (104,758) 83,942 63,944
Deferred costs (28,207) (23,943) (46,692) (36,549)
Prepaid expenses and other assets (1,679) (5,446) (6,786) 3,042
Accounts payable 1,047 5,987 2,550 13,941
Accrued expenses and other liabilities (56,524) (15,182) (35,121) (3,555)
Unearned revenue 55,461 68,168 (63,637) (53,887)
Net cash provided by (used in) operating activities 100,319 57,616 309,482 241,849
Cash flows from investing activities        
Purchases of marketable securities (582,848) (526,216) (1,053,902) (1,434,342)
Maturities of marketable securities 385,710 655,205 845,807 1,341,881
Sales of marketable securities 4,551 914,938 55,499 942,297
Owned real estate projects (34,149) (49,537) (73,783) (88,770)
Capital expenditures, excluding owned real estate projects (75,576) (53,346) (141,111) (102,208)
Business combinations, net of cash acquired (12,885) (26,737) (12,885) (26,737)
Purchase of other intangible assets 0 (1,000) 0 (1,000)
Purchases of non-marketable equity and other investments (5,516) (1,000) (7,716) (3,400)
Other (32) 0 (9) 0
Net cash provided by (used in) investing activities (320,745) 912,307 (388,100) 627,721
Cash flows from financing activities        
Payments on convertible senior notes (27) (350,005) (27) (350,005)
Proceeds from issuance of common stock from employee equity plans 58,085 38,686 61,540 41,297
Other (107) (59) (200) (116)
Net cash provided by (used in) financing activities 57,951 (311,378) 61,313 (308,824)
Effect of exchange rate changes 75 (162) (252) (582)
Net increase (decrease) in cash, cash equivalents, and restricted cash (162,400) 658,383 (17,557) 560,164
Cash, cash equivalents, and restricted cash at the beginning of period 787,046 1,037,435 642,203 1,135,654
Cash, cash equivalents, and restricted cash at the end of period 624,646 1,695,818 624,646 1,695,818
Supplemental cash flow data        
Cash paid for interest, net of amounts capitalized 469 14 472 33
Cash paid for income taxes 2,469 1,492 6,003 3,206
Non-cash investing and financing activities:        
Purchases of property and equipment, accrued but not paid 46,910 63,052 46,910 63,052
Total cash, cash equivalents, and restricted cash $ 787,046 $ 1,037,435 $ 642,203 $ 1,135,654