| | | | | | | | |
| | Years Ended December 31, | |
| | 2009 | | | 2008 | |
| | (in thousands) | |
Cash flows from operating activities: | | | | | | | | |
Net loss | | $ | (243,029 | ) | | $ | (285,433 | ) |
Adjustments to reconcile net loss to net cash used in operating activities: | | | | | | | | |
Depreciation and amortization | | | 31,454 | | | | 45,968 | |
Stock-based compensation | | | 21,460 | | | | 23,531 | |
Loss on disposal of equipment, software, and leasehold improvements | | | 502 | | | | 10 | |
Equity in net loss of investments | | | 1,313 | | | | 695 | |
Gain on sale of equity investment, net | | | (688 | ) | | | (210 | ) |
Impairment of equity investments | | | 5,020 | | | | — | |
Excess tax benefit from stock option exercises | | | (15 | ) | | | (127 | ) |
Impairment of goodwill and long-lived assets | | | 175,583 | | | | 192,676 | |
Accrued restructuring and other charges | | | (2,773 | ) | | | 5,524 | |
Accrued loss on excess office facilities | | | (3,982 | ) | | | (3,490 | ) |
Deferred income taxes, net | | | 4,255 | | | | 11,583 | |
Gain on sale of interest in Rhapsody America | | | — | | | | (14,502 | ) |
Other | | | 48 | | | | 111 | |
Net change in certain operating assets and liabilities, net of acquisitions | | | 1,548 | | | | (5,622 | ) |
| | | | | | |
| | | | | | | | |
Net cash used in operating activities | | | (9,304 | ) | | | (29,286 | ) |
| | | | | | |
| | | | | | | | |
Cash flows from investing activities: | | | | | | | | |
Purchases of equipment, software, and leasehold improvements | | | (16,807 | ) | | | (29,530 | ) |
Purchases of short-term investments | | | (143,273 | ) | | | (251,887 | ) |
Proceeds from sales and maturities of short-term investments | | | 173,169 | | | | 194,053 | |
Purchases of intangible assets | | | — | | | | (2,839 | ) |
Proceeds from the sales of equity investments | | | 1,014 | | | | 1,140 | |
Purchases of equity investments | | | (2,000 | ) | | | (14,731 | ) |
Payment of acquisition costs, net of cash acquired | | | (3,324 | ) | | | (10,192 | ) |
Decrease in restricted cash equivalents and investments, net | | | 1,042 | | | | 768 | |
| | | | | | |
| | | | | | | | |
Net cash used in investing activities | | | 9,821 | | | | (113,218 | ) |
| | | | | | |
| | | | | | | | |
Cash flows from financing activities: | | | | | | | | |
Net proceeds from sales of common stock under employee stock purchase plan and exercise of stock options | | | 1,455 | | | | 9,570 | |
Payments of convertible debt obligations | | | — | | | | (100,000 | ) |
Net proceeds from sales of interest in Rhapsody America | | | 38,022 | | | | 44,640 | |
Excess tax benefit from stock option exercises | | | 15 | | | | 127 | |
Repurchases of common stock | | | — | | | | (50,199 | ) |
| | | | | | |
| | | | | | | | |
Net cash provided by (used in) financing activities | | | 39,492 | | | | (95,862 | ) |
| | | | | | |
| | | | | | | | |
Effect of exchange rate changes on cash and cash equivalents | | | 4,053 | | | | (5,363 | ) |
| | | | | | |
| | | | | | | | |
Net decrease in cash and cash equivalents | | | 44,062 | | | | (243,729 | ) |
| | | | | | | | |
Cash and cash equivalents, beginning of period | | | 232,968 | | | | 476,697 | |
| | | | | | |
| | | | | | | | |
Cash and cash equivalents, end of period | | $ | 277,030 | | | $ | 232,968 | |
| | | | | | |