Investments | Investments Marketable Securities At July 31, 2016 , marketable securities consisted of the following (in thousands): Investments classified as Marketable Securities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Corporate notes and obligations $ 303,091 $ 3,663 $ (64 ) $ 306,690 U.S. treasury securities 40,402 391 (3 ) 40,790 Mortgage backed obligations 74,286 283 (48 ) 74,521 Asset backed securities 124,318 356 (32 ) 124,642 Municipal securities 46,203 392 (1 ) 46,594 Foreign government obligations 11,412 71 0 11,483 Total marketable securities $ 599,712 $ 5,156 $ (148 ) $ 604,720 At January 31, 2016 , marketable securities consisted of the following (in thousands): Investments classified as Marketable Securities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Corporate notes and obligations $ 949,266 $ 1,398 $ (2,983 ) $ 947,681 U.S. treasury securities 157,625 375 (56 ) 157,944 Mortgage backed obligations 104,242 106 (323 ) 104,025 Asset backed securities 271,292 186 (226 ) 271,252 Municipal securities 44,934 209 (6 ) 45,137 Foreign government obligations 18,014 42 (5 ) 18,051 U.S. agency obligations 16,076 16 (6 ) 16,086 Covered bonds 6,690 148 0 6,838 Total marketable securities $ 1,568,139 $ 2,480 $ (3,605 ) $ 1,567,014 The duration of the investments classified as marketable securities is as follows (in thousands): As of July 31, January 31, Recorded as follows: Short-term (due in one year or less) $ 59,057 $ 183,018 Long-term (due after one year) 545,663 1,383,996 $ 604,720 $ 1,567,014 As of July 31, 2016 , the following marketable securities were in an unrealized loss position (in thousands): Less than 12 Months 12 Months or Greater Total Fair Value Unrealized Losses Fair Value Unrealized Losses Fair Value Unrealized Losses Corporate notes and obligations $ 20,262 $ (27 ) $ 7,305 $ (37 ) $ 27,567 $ (64 ) U.S. treasury securities 4,847 (3 ) 0 0 4,847 (3 ) Mortgage backed obligations 20,115 (38 ) 1,280 (10 ) 21,395 (48 ) Asset backed securities 19,241 (17 ) 7,512 (15 ) 26,753 (32 ) Municipal securities 304 (1 ) 0 0 304 (1 ) $ 64,769 $ (86 ) $ 16,097 $ (62 ) $ 80,866 $ (148 ) The unrealized losses for each of the fixed rate marketable securities were less than $12,000 . The Company does not believe any of the unrealized losses represent an other-than-temporary impairment based on its evaluation of available evidence as of July 31, 2016 . The Company expects to receive the full principal and interest on all of these marketable securities. Fair Value Measurement All of the Company’s cash equivalents, marketable securities and foreign currency derivative contracts are classified within Level 1 or Level 2 because the Company’s cash equivalents, marketable securities and foreign currency derivative contracts are valued using quoted market prices or alternative pricing sources and models utilizing observable market inputs. The Company uses a three-tier fair value hierarchy, which prioritizes the inputs used in the valuation methodologies in measuring fair value: Level 1. Quoted prices (unadjusted) in active markets for identical assets or liabilities. Level 2. Other inputs that are directly or indirectly observable in the marketplace. Level 3. Unobservable inputs which are supported by little or no market activity. The following table presents information about the Company’s assets and liabilities that are measured at fair value as of July 31, 2016 and indicates the fair value hierarchy of the valuation (in thousands): Description Quoted Prices in Significant Other Significant Balances as of July 31, 2016 Cash equivalents (1): Time deposits $ 0 $ 7,327 $ 0 $ 7,327 Money market mutual funds 400,732 0 0 400,732 Marketable securities: Corporate notes and obligations 0 306,690 0 306,690 U.S. treasury securities 0 40,790 0 40,790 Mortgage backed obligations 0 74,521 0 74,521 Asset backed securities 0 124,642 0 124,642 Municipal securities 0 46,594 0 46,594 Foreign government obligations 0 11,483 0 11,483 Foreign currency derivative contracts (2) 0 3,855 0 3,855 Total assets $ 400,732 $ 615,902 $ 0 $ 1,016,634 Liabilities Foreign currency derivative contracts (3) $ 0 $ 4,127 $ 0 $ 4,127 Total liabilities $ 0 $ 4,127 $ 0 $ 4,127 _____________ (1) Included in “cash and cash equivalents” in the accompanying consolidated balance sheet as of July 31, 2016 , in addition to $707.2 million of cash. (2) Included in “prepaid expenses and other current assets” in the accompanying consolidated balance sheet as of July 31, 2016 . (3) Included in “accounts payable, accrued expenses and other liabilities” in the consolidated balance sheet as of July 31, 2016 . The following table presents information about the Company’s assets and liabilities that are measured at fair value as of January 31, 2016 and indicates the fair value hierarchy of the valuation (in thousands): Description Quoted Prices in Active Markets for Identical Assets (Level 1) Significant Other Observable Inputs (Level 2) Significant Unobservable Inputs (Level 3) Balances as of January 31, 2016 Cash equivalents (1): Time deposits $ 0 $ 236,798 $ 0 $ 236,798 Money market mutual funds 216,107 0 0 216,107 Commercial paper 0 159,230 0 159,230 Agency and sovereign paper 0 13,599 0 13,599 Marketable securities: Corporate notes and obligations 0 947,681 0 947,681 U.S. treasury securities 0 157,944 0 157,944 Mortgage backed obligations 0 104,025 0 104,025 Asset backed securities 0 271,252 0 271,252 Municipal securities 0 45,137 0 45,137 Foreign government obligations 0 18,051 0 18,051 U.S. agency obligations 0 16,086 0 16,086 Covered bonds 0 6,838 0 6,838 Foreign currency derivative contracts (2) 0 4,731 0 4,731 Total Assets $ 216,107 $ 1,981,372 $ 0 $ 2,197,479 Liabilities Foreign currency derivative contracts (3) $ 0 $ 14,025 $ 0 $ 14,025 Total Liabilities $ 0 $ 14,025 $ 0 $ 14,025 ______________ (1) Included in “cash and cash equivalents” in the accompanying consolidated balance sheet as of January 31, 2016 , in addition to $532.6 million of cash. (2) Included in “prepaid expenses and other current assets” in the accompanying consolidated balance sheet as of January 31, 2016 . (3) Included in “accounts payable, accrued expenses and other liabilities” in the accompanying consolidated balance sheet as of January 31, 2016 . Derivative Financial Instruments The Company enters into foreign currency derivative contracts with financial institutions to reduce foreign exchange risk. The Company uses forward currency derivative contracts to minimize the Company’s exposure to balances primarily denominated in British Pound Sterling, the Euro and Japanese Yen. The Company’s foreign currency derivative contracts, which are not designated as hedging instruments, are used to reduce the exchange rate risk associated primarily with intercompany receivables and payables. The Company’s derivative financial instruments program is not designated for trading or speculative purposes. As of July 31, 2016 and January 31, 2016 , the foreign currency derivative contracts that were not settled were recorded at fair value on the consolidated balance sheets. Foreign currency derivative contracts are marked-to-market at the end of each reporting period with gains and losses recognized as other expense to offset the gains or losses resulting from the settlement or remeasurement of the underlying foreign currency denominated receivables and payables. While the contract or notional amount is often used to express the volume of foreign currency derivative contracts, the amounts potentially subject to credit risk are generally limited to the amounts, if any, by which the counterparties’ obligations under the agreements exceed the obligations of the Company to the counterparties. Details on outstanding foreign currency derivative contracts related primarily to intercompany receivables and payables are presented below (in thousands): As of July 31, 2016 January 31, 2016 Notional amount of foreign currency derivative contracts $ 1,280,090 $ 1,274,515 Fair value of foreign currency derivative contracts $ (272 ) $ (9,294 ) The fair value of the Company’s outstanding derivative instruments are summarized below (in thousands): Fair Value of Derivative Instruments As of Balance Sheet Location July 31, 2016 January 31, 2016 Derivative Assets Derivatives not designated as hedging instruments: Foreign currency derivative contracts Prepaid expenses and other current assets $ 3,855 $ 4,731 Derivative Liabilities Derivatives not designated as hedging instruments: Foreign currency derivative contracts Accounts payable, accrued expenses and other liabilities $ 4,127 $ 14,025 The effect of the derivative instruments not designated as hedging instruments on the consolidated statements of operations during the three and six months ended July 31, 2016 and 2015 , respectively, are summarized below (in thousands): Derivatives Not Designated as Hedging Gains (losses) on Derivative Instruments Three Months Ended Location 2016 2015 Foreign currency derivative contracts Other income (expense) $ (33,836 ) $ 9,494 Derivatives Not Designated as Hedging Gains (losses) on Derivative Instruments Six Months Ended Location 2016 2015 Foreign currency derivative contracts Other income (expense) $ (47,176 ) $ 14,069 Strategic Investments The Company's strategic investments are comprised of marketable equity securities and non-marketable debt and equity securities. Marketable equity securities are measured using quoted prices in their respective active markets and the non-marketable equity and debt securities are recorded at cost. These investments are presented on the consolidated balance sheets within strategic investments. As of July 31, 2016 , the Company had six investments in marketable equity securities with a fair value of $56.6 million , which includes an unrealized gain of $39.8 million . As of January 31, 2016 , the Company had six investments in marketable equity securities with a fair value of $16.2 million , which included an unrealized gain of $8.5 million . The change in the fair value of the investments in publicly held companies is recorded in the consolidated balance sheets within strategic investments and accumulated other comprehensive loss. The Company’s interest in non-marketable debt and equity securities consists of noncontrolling debt and equity investments in privately held companies. The Company’s investments in these privately held companies are reported at cost or marked down to fair value when an event or circumstance indicates an other-than-temporary decline in value has occurred. These investments are valued using significant unobservable inputs or data in an inactive market and the valuation requires the Company's judgment due to the absence of market prices and inherent lack of liquidity. As of July 31, 2016 and January 31, 2016 , the carrying value of the Company’s non-marketable debt and equity securities was $491.7 million and $504.5 million , respectively. The estimated fair value of the non-marketable debt and equity securities was approximately $700.1 million and $714.1 million as of July 31, 2016 and January 31, 2016 , respectively. These investments are measured using the cost method of accounting, therefore the unrealized gains of $208.4 million and $209.6 million as of July 31, 2016 and January 31, 2016 , respectively, are not recorded in the consolidated financial statements. The carrying value of the Company’s strategic investments is impacted by various events such as entering into new investments, disposition-related reductions of a cost-basis investment if a privately-held company within the portfolio is acquired by another company, fair market value adjustments or initial public offerings. The cash inflows from exits and cash outflows from new investments are disclosed as Strategic investments, net, within the investing activities section of the Statement of Cash Flows and any gains or losses or fair market value adjustments are recorded within the operating activities of the Statement of Cash Flows for each of the respective fiscal quarter periods. Investment Income Investment income consists of interest income, realized gains, and realized losses on the Company’s cash, cash equivalents and marketable securities. The components of investment income are presented below (in thousands): Three Months Ended July 31, Six Months Ended July 31, 2016 2015 2016 2015 Interest income $ 6,546 $ 3,169 $ 14,319 $ 6,219 Realized gains 6,507 813 7,561 2,940 Realized losses (1,137 ) (699 ) (1,842 ) (1,315 ) Total investment income $ 11,916 $ 3,283 $ 20,038 $ 7,844 Reclassification adjustments out of accumulated other comprehensive income (loss) into net income were immaterial for the three and six months ended July 31, 2016 and 2015 , respectively. |