XML 80 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
OPERATING ACTIVITIES:      
Net (loss) income $ (14,516) $ 11,107 $ 12,813
Adjustments to reconcile net (loss) income to net cash provided by operating activities:      
Depreciation and amortization 16,588 13,868 11,217
Compensation for stock options and restricted stock units 6,450 5,374 4,306
Provision for bad debts (net recovery of) 370 898 346
Loss on disposal of assets 451 860 947
Write-down of inventories 1,734 4,134 10,878
Deferred income tax benefit (1,740) (2,002) (655)
Income tax benefit from exercise of stock options 0 (357) (313)
Decrease (increase) in:      
Accounts receivable, net (6,766) 6,727 9,584
Inventories, net (10,926) (6,729) (18,021)
Prepaid expenses and other assets (253) 3,588 (2,834)
(Decrease) increase in:      
Accounts payable and accrued liabilities 1,103 534 (6,401)
Income taxes payable 20,011 618 0
Customer deposits (461) (1,310) 1,114
Unearned service revenues (1,690) 273 5,051
Net cash provided by operating activities 10,355 37,583 28,032
INVESTING ACTIVITIES:      
Proceeds from sale of investments 32,000 0 22,001
Purchases of property and equipment (8,970) (7,720) (14,169)
Payments for intangible assets (2,377) (1,657) (2,140)
Acquisition of business, net of cash received (5,596) (27,708) (12,066)
Net cash provided by (used in) investing activities 15,057 (37,085) (6,374)
FINANCING ACTIVITIES:      
Payments on capital leases (108) (8) (8)
Payments of contingent consideration for acquisitions (521) (774) 0
Repurchase of common stock 0 0 (22,763)
Income tax benefit from exercise of stock options 0 357 313
Proceeds from issuance of stock, net 3,594 674 2,287
Net cash provided by (used in) financing activities 2,965 249 (20,171)
EFFECT OF EXCHANGE RATE CHANGES ON CASH AND CASH EQUIVALENTS 6,414 (1,934) (3,420)
INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS 34,791 (1,187) (1,933)
CASH AND CASH EQUIVALENTS, BEGINNING OF YEAR 106,169 107,356 109,289
CASH AND CASH EQUIVALENTS, END OF YEAR $ 140,960 $ 106,169 $ 107,356