v3.7.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Cash flows from operating activities    
Net loss $ (64,044) $ (78,503) [1]
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 33,377 26,124 [1]
Share-based compensation expenses 107,788 78,235 [1]
Amortization of deferred costs 13,637 10,439 [1]
Amortization of debt discount and issuance costs 6,950 6,599 [1]
Other 2,678 (318) [1]
Changes in operating assets and liabilities:    
Trade and other receivables, net 111,815 98,319 [1]
Deferred costs (11,381) (9,226) [1]
Prepaid expenses and other assets (3,050) 2,388 [1]
Accounts payable (565) (1,722) [1]
Accrued expenses and other liabilities 4,089 5,545 [1]
Unearned revenue (21,272) 24,937 [1]
Net cash provided by (used in) operating activities 180,022 162,817 [1]
Cash flows from investing activities    
Purchases of marketable securities (613,251) (633,956) [1]
Maturities of marketable securities 441,870 625,588 [1]
Sales of available-for-sale securities 9,074 200 [1]
Owned real estate projects (29,539) (18,986) [1]
Capital expenditures, excluding owned real estate projects (30,593) (34,478) [1]
Purchases of cost method investments (450) (100) [1]
Other 0 388 [1]
Net cash provided by (used in) investing activities (222,889) (61,344) [1]
Cash flows from financing activities    
Proceeds from issuance of common stock from employee equity plans 2,253 3,381 [1]
Other (44) 376 [1]
Net cash provided by (used in) financing activities 2,209 3,757 [1]
Effect of exchange rate changes (132) 638 [1]
Net increase (decrease) in cash, cash equivalents and restricted cash (40,790) 105,868 [1]
Cash, cash equivalents and restricted cash at the beginning of period 541,894 300,087
Cash, cash equivalents and restricted cash at the end of period 501,104 405,955 [1]
Supplemental cash flow data    
Cash paid for interest 0 4 [1]
Cash paid for income taxes 1,346 581 [1]
Non-cash investing and financing activities:    
Vesting of early exercise stock options 282 460 [1]
Property and equipment, accrued but not paid 32,515 21,507 [1]
Non-cash additions to property and equipment $ 142 $ 521 [1]
[1] See Note 2 for a summary of adjustments.