XML 20 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Cash flows from operating activities    
Net loss $ (74,410) $ (64,044)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 38,664 31,797
Share-based compensation expenses 132,659 107,788
Amortization of deferred costs 16,360 13,637
Amortization of debt discount and issuance costs 18,139 6,950
Other (9,289) 4,258
Changes in operating assets and liabilities:    
Trade and other receivables, net 168,702 111,815
Deferred costs (12,606) (11,381)
Prepaid expenses and other assets 8,488 (3,050)
Accounts payable 7,954 (565)
Accrued expenses and other liabilities 11,627 4,089
Unearned revenue (122,055) (21,272)
Net cash provided by (used in) operating activities 184,233 180,022
Cash flows from investing activities    
Purchases of marketable securities (908,126) (613,251)
Maturities of marketable securities 686,676 441,870
Sales of marketable securities 27,359 9,074
Owned real estate projects (39,233) (29,539)
Capital expenditures, excluding owned real estate projects (48,862) (30,593)
Purchases of non-marketable equity and other investments (2,400) (450)
Net cash provided by (used in) investing activities (284,586) (222,889)
Cash flows from financing activities    
Proceeds from issuance of common stock from employee equity plans 2,611 2,253
Other (57) (44)
Net cash provided by (used in) financing activities 2,554 2,209
Effect of exchange rate changes (420) (132)
Net increase (decrease) in cash, cash equivalents, and restricted cash (98,219) (40,790)
Cash, cash equivalents, and restricted cash at the beginning of period 1,135,654 541,894
Cash, cash equivalents, and restricted cash at the end of period 1,037,435 501,104
Supplemental cash flow data    
Cash paid for interest, net of amounts capitalized 19 0
Cash paid for income taxes 1,714 1,346
Non-cash investing and financing activities:    
Vesting of early exercised stock options 0 282
Purchases of property and equipment, accrued but not paid 62,196 32,515
Non-cash additions to property and equipment $ 58 $ 142