| | | | | | | | |
| | Years Ended | |
| | December 31, | |
| | 2004 | | | 2003 | |
Cash flows from operating activities: | | | | | | | | |
Net income (loss) | | $ | 39,334 | | | $ | (17,006 | ) |
Adjustments to reconcile net income (loss) to net cash provided by operating activities: | | | | | | | | |
Loss from discontinued operations | | | — | | | | 33,611 | |
Depreciation, amortization and other | | | 57,765 | | | | 62,434 | |
Amortization of debt issuance costs | | | 2,975 | | | | 2,246 | |
Non-cash content and distribution services | | | 18,826 | | | | 24,298 | |
Non-cash stock-based compensation | | | 8,975 | | | | 12,449 | |
Bad debt expense | | | 3,606 | | | | 6,328 | |
Gain on investments | | | (457 | ) | | | (1,659 | ) |
Gain on sale of property and equipment | | | (121 | ) | | | (3,100 | ) |
Changes in operating assets and liabilities: | | | | | | | | |
Accounts receivable | | | (20,477 | ) | | | (813 | ) |
Inventory | | | (1,041 | ) | | | (2,176 | ) |
Prepaid expenses and other, net | | | 3,478 | | | | 3,792 | |
Accounts payable | | | 5,577 | | | | (651 | ) |
Accrued expenses | | | (43,703 | ) | | | (42,419 | ) |
Deferred revenue | | | 15,307 | | | | (225 | ) |
| | | | | | |
Net cash provided by continuing operations | | | 90,044 | | | | 77,109 | |
Net cash provided by discontinued operations | | | — | | | | 5,130 | |
| | | | | | |
Net cash provided by operating activities | | | 90,044 | | | | 82,239 | |
Cash flows from investing activities: | | | | | | | | |
Proceeds from maturities and sales of available-for-sale securities | | | 404,370 | | | | 327,544 | |
Proceeds from maturities and redemptions of held-to-maturity securities | | | — | | | | 157,919 | |
Purchases of available-for-sale securities | | | (304,582 | ) | | | (8,254 | ) |
Purchases of held-to-maturity securities | | | — | | | | (590,113 | ) |
Purchases of property and equipment | | | (38,800 | ) | | | (18,385 | ) |
Proceeds received from sale of discontinued operations | | | — | | | | 46,500 | |
Proceeds received from sale of property and equipment | | | 417 | | | | 9,779 | |
Other changes in equity of discontinued operations | | | — | | | | 1,754 | |
Cash paid in business combinations, net of cash acquired | | | (249,557 | ) | | | (400,491 | ) |
| | | | | | |
Net cash used in continuing operations | | | (188,152 | ) | | | (473,747 | ) |
Net cash used in discontinued operations | | | — | | | | (2,529 | ) |
| | | | | | |
Net cash used in investing activities | | | (188,152 | ) | | | (476,276 | ) |
Cash flows from financing activities: | | | | | | | | |
Proceeds from issuance of common stock | | | 38,052 | | | | 44,719 | |
Net proceeds from issuance of convertible redeemable exchangeable preferred stock | | | 98,115 | | | | — | |
Payments of notes payable and other | | | (602 | ) | | | (361 | ) |
Purchase of treasury stock | | | (32,110 | ) | | | (20,316 | ) |
Net proceeds from issuance of convertible debt | | | — | | | | 339,125 | |
| | | | | | |
Net cash provided by continuing operations | | | 103,455 | | | | 363,167 | |
Net cash used in discontinued operations | | | — | | | | (6,546 | ) |
| | | | | | |
Net cash provided by financing activities | | | 103,455 | | | | 356,621 | |
Effect of exchange rates on cash | | | 1,024 | | | | 1,423 | |
| | | | | | |
Net increase (decrease) in cash and cash equivalents | | | 6,371 | | | | (35,993 | ) |
Changes in cash attributable to discontinued operations | | | — | | | | 3,945 | |
Cash and cash equivalents at beginning of period | | | 39,648 | | | | 71,696 | |
| | | | | | |
Cash and cash equivalents at end of period | | $ | 46,019 | | | $ | 39,648 | |
| | | | | | |