| | | | | | | | |
| | Nine Months Ended | |
| | September 30, | |
| | 2005 | | | 2004 | |
Cash flows from operating activities: | | | | | | | | |
Net income | | $ | 40,122 | | | $ | 19,645 | |
Adjustments to reconcile net income to net cash provided by operating activities: | | | | | | | | |
Depreciation and amortization | | | 52,940 | | | | 40,922 | |
Amortization of debt issuance costs | | | 1,856 | | | | 2,255 | |
Non-cash advertising and distribution services | | | 6,999 | | | | 14,893 | |
Non-cash stock-based compensation | | | 3,487 | | | | 7,241 | |
Bad debt expense | | | 4,876 | | | | 3,726 | |
Loss (gain) on investments | | | 3,642 | | | | (457 | ) |
Loss on redemption of convertible debt | | | 1,902 | | | | — | |
Non-cash reversal of income tax valuation allowance | | | 4,330 | | | | — | |
Gain on sale of property and equipment | | | — | | | | (121 | ) |
Changes in operating assets and liabilities: | | | | | | | | |
Accounts receivable | | | (28,861 | ) | | | (6,869 | ) |
Inventory | | | 795 | | | | (303 | ) |
Accounts payable | | | (6,387 | ) | | | (874 | ) |
Accrued expenses | | | 7,913 | | | | (8,189 | ) |
Deferred revenue | | | 7,815 | | | | 4,426 | |
Prepaid expenses and other, net | | | (2,328 | ) | | | 2,905 | |
| | | | | | |
Net cash provided by operating activities | | | 99,101 | | | | 79,200 | |
| | | | | | | | |
Cash flows from investing activities: | | | | | | | | |
Proceeds from maturities and sales of available-for-sale securities | | | 336,014 | | | | 1,387,614 | |
Purchases of available-for-sale securities | | | (516,109 | ) | | | (1,267,726 | ) |
Purchases of property and equipment | | | (49,325 | ) | | | (24,889 | ) |
Proceeds received from sale of property and equipment | | | 400 | | | | 417 | |
Cash paid in business combinations, net of cash acquired | | | (74,410 | ) | | | (225,375 | ) |
| | | | | | |
Net cash used in investing activities | | | (303,430 | ) | | | (129,959 | ) |
| | | | | | | | |
Cash flows from financing activities: | | | | | | | | |
Redemption of convertible debt | | | (86,694 | ) | | | — | |
Proceeds from issuance of common stock | | | 43,384 | | | | 30,528 | |
Net proceeds from issuance of preferred stock | | | — | | | | 98,115 | |
Net proceeds from issuance of convertible debt | | | 289,875 | | | | — | |
Payments of notes payable and other | | | (495 | ) | | | (433 | ) |
Purchases of treasury stock | | | (4,596 | ) | | | (22,267 | ) |
| | | | | | |
Net cash provided by financing activities | | | 241,474 | | | | 105,943 | |
| | | | | | | | |
Effect of exchange rates on cash | | | (1,117 | ) | | | (28 | ) |
| | | | | | |
| | | | | | | | |
Net increase in cash and cash equivalents | | | 36,028 | | | | 55,156 | |
Cash and cash equivalents at beginning of period | | | 46,019 | | | | 39,648 | |
| | | | | | |
Cash and cash equivalents at end of period | | $ | 82,047 | | | $ | 94,804 | |
| | | | | | |