| | | | | | | | |
| | Year ended December 31 | |
| | 2007 | | | 2006 | |
Cash flows from operating activities: | | | | | | | | |
Net income | | $ | 23,999 | | | $ | 27,880 | |
Adjustments to reconcile net income to net cash provided by operating activities | | | | | | | | |
Depreciation and amortization | | | 4,710 | | | | 4,678 | |
Accretion of U.S. Treasury strips zero % coupons | | | (15 | ) | | | (26 | ) |
Impairment of investment, goodwill and intangible assets | | | 5,402 | | | | — | |
Profit on sale of equipment | | | (3 | ) | | | (30 | ) |
Provision for doubtful debts | | | 444 | | | | 216 | |
Non-cash compensation expense | | | 7,776 | | | | 4,066 | |
Income attributable to minority shareholder | | | 2,027 | | | | 1,909 | |
Gain on sale of shares to minority shareholder and interest income thereon | | | — | | | | (7,906 | ) |
Equipment written off | | | 266 | | | | 2 | |
Cumulative effect of change in accounting principle | | | — | | | | (251 | ) |
Exchange rate realignment | | | 730 | | | | — | |
| | | | | | |
| | | 45,336 | | | | 30,538 | |
| | | | | | | | |
Changes in assets and liabilities: | | | | | | | | |
Accounts receivables | | | (641 | ) | | | (1,139 | ) |
Receivables from sales representatives | | | 935 | | | | (7,579 | ) |
Inventory | | | (219 | ) | | | (23 | ) |
Prepaid expenses and other current assets | | | (1,158 | ) | | | (3,589 | ) |
Long term assets | | | (1,219 | ) | | | 419 | |
Accounts payable | | | (1,236 | ) | | | 1,320 | |
Accrued liabilities and liabilities for incentive and bonus plans | | | 17 | | | | 5,578 | |
Deferred income and customer prepayments | | | 19,237 | | | | 10,866 | |
Tax liability | | | (419 | ) | | | 313 | |
| | | | | | |
Net cash provided by operating activities | | | 60,633 | | | | 36,704 | |
| | | | | | |
| | | | | | | | |
Cash flows from investing activities: | | | | | | | | |
Purchase of property and equipment | | | (11,291 | ) | | | (4,876 | ) |
Proceeds from sale of equipment | | | 3 | | | | 30 | |
Proceeds from matured bonds | | | 205 | | | | 200 | |
Purchase of intangible assets | | | (3,136 | ) | | | — | |
Purchase of available-for-sale securities | | | — | | | | (263,463 | ) |
Proceeds from sale of available-for-sale securities | | | 15,834 | | | | 251,267 | |
Net proceeds from sale of shares to minority shareholder, interest received thereon and repurchase of share dividends from minority shareholder | | | — | | | | 2,719 | |
| | | | | | |
Net cash generated from (used in) investing activities | | | 1,615 | | | | (14,123 | ) |
| | | | | | |
| | | | | | | | |
Cash flows from financing activities: | | | | | | | | |
Amount received towards directors purchase plan | | | 422 | | | | 359 | |
| | | | | | |
Net cash generated from financing activities | | | 422 | | | | 359 | |
| | | | | | |
| | | | | | | | |
Effect of exchange rate changes on cash and cash equivalents | | | 62 | | | | — | |
Net increase in cash and cash equivalents | | | 62,670 | | | | 22,940 | |
Cash and cash equivalents, beginning of the year | | | 135,093 | | | | 112,153 | |
| | | | | | |
Cash and cash equivalents, end of the year | | $ | 197,825 | | | $ | 135,093 | |
| | | | | | |
| | | | | | | | |
Supplemental cash flow disclosures: | | | | | | | | |
Income tax paid | | $ | 747 | | | $ | 586 | |
| | | | | | |