May 31,
(in millions)
2019
2018
Corporate debt securities and other
$22,242
$44,302
Commercial paper debt securities
—
1,647
Money market funds
5,700
6,500
Total investments
$27,942
$52,449
Investments classified as cash equivalents
$10,629
$6,808
Investments classified as marketable securities
$17,313
$45,641

text: 3. CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES
text: Cash and cash equivalents primarily consist of deposits held at major banks, Tier-1 commercial paper debt securities and other securities with original maturities of 90 days or less. Marketable securities consist of Tier-1 commercial paper debt securities, corporate debt securities and certain other securities.
text: The amortized principal amounts of our cash, cash equivalents and marketable securities approximated their fair values at May 31, 2019 and 2018. We use the specific identification method to determine any realized gains or losses from the sale of our marketable securities classified as available-for-sale. Such realized gains and losses were insignificant for fiscal 2019, 2018 and 2017. The following table summarizes the components of our cash equivalents and marketable securities held, substantially all of which were classified as available-for-sale:
text: As of May 31, 2019 and 2018, approximately 33% and 26%, respectively, of our marketable securities investments mature within one year and 67% and 74%, respectively, mature within one to four years. Our investment portfolio is subject to market risk due to changes in interest rates. As described above, we limit purchases of marketable debt securities to investment-grade securities, which have high credit ratings and also limit the amount of credit exposure to any one issuer. As stated in our investment policy, we are averse to principal loss and seek to preserve our invested funds by limiting default risk and market risk.
text: Restricted cash that was included within cash and cash equivalents as presented within our consolidated balance sheets as of May 31, 2019 and 2018 and our consolidated statements of cash flows for the years ended May 31, 2019, 2018 and 2017 was nominal.

Questions:
question: What do cash and cash equivalents primarily consist of?
answer: Cash and cash equivalents primarily consist of deposits held at major banks, Tier-1 commercial paper debt securities and other securities with original maturities of 90 days or less.
question: Why are purchases of marketable debt securities limited to investment-grade securities?
answer: we limit purchases of marketable debt securities to investment-grade securities, which have high credit ratings and also limit the amount of credit exposure to any one issuer. As stated in our investment policy, we are averse to principal loss and seek to preserve our invested funds by limiting default risk and market risk.
question: What was the total investment amount in 2018?
answer: $52,449
scale: million
question: What is the amount of marketable investment securities that will mature within one year by 2020?
answer: 5713.29
derivation: 33%*17,313
scale: million
question: What is the investments classified as cash equivalents as a percentage of the total investments in 2019?
answer: 38.04
derivation: (10,629/27,942)
scale: percent
question: What was the percentage change in the money market funds from 2018 to 2019?
answer: -12.31
derivation: (5,700-6,500)/6,500
scale: percent