XML 22 R7.htm IDEA: XBRL DOCUMENT v3.19.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Cash provided by (used for) operating activities:      
Net income (loss) $ 11,924 $ (10,323) $ 20,384
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 33,602 31,312 26,967
Provision for doubtful accounts 305 166 183
Provision for inventory write-downs 8,655 4,119 3,806
Gain on sale of Guangzhou factory (36,978) 0 0
Deferred income taxes 3,967 7,597 (1,637)
Tax benefit from exercise of stock options and vested restricted stock 0 0 2,007
Excess tax benefit from stock-based compensation 0 0 (1,970)
Shares issued for employee benefit plan 1,062 648 913
Employee and director stock-based compensation 8,820 11,943 10,324
Performance-based common stock warrants 163 683 2,728
Impairment of China factory equipment 4,907 4,100 0
Changes in operating assets and liabilities:      
Accounts receivable and contract assets 5,455 (22,192) (3,882)
Inventories (19,870) (29,916) (14,800)
Prepaid expenses and other assets (587) (4,477) (772)
Accounts payable and accrued liabilities (7,386) 10,970 10,451
Accrued income taxes (1,184) 4,535 (5,159)
Net cash provided by operating activities 12,855 9,165 49,543
Cash provided by (used for) investing activities:      
Proceeds from sale of Guangzhou factory 51,291 0 0
Acquisitions of property, plant and equipment (20,142) (40,384) (40,651)
Refund of deposit received toward sale of Guangzhou factory (5,053) 0 0
Acquisitions of intangible assets (2,521) (1,949) (1,912)
Acquisition of net assets of Residential Control Systems, Inc. 0 (8,894) 0
Deposit received toward sale of Guangzhou factory 0 0 4,797
Deconsolidation of Encore Controls LLC 0 0 48
Net cash provided by (used for) investing activities 23,575 (51,227) (37,718)
Cash provided by (used for) financing activities:      
Borrowings under line of credit 68,000 157,000 147,974
Repayments on line of credit (104,500) (68,987) (147,987)
Proceeds from stock options exercised 864 1,442 6,244
Treasury stock purchased (13,824) (39,085) (12,647)
Contingent consideration payments in connection with business combinations (3,858) 0 0
Excess tax benefit from stock-based compensation 0 0 1,970
Net cash provided by (used for) financing activities (53,318) 50,370 (4,446)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,756 (803) (5,134)
Net increase (decrease) in cash, cash equivalents and restricted cash (14,132) 7,505 2,245
Cash, cash equivalents and restricted cash at beginning of year 67,339 59,834 57,589
Cash, cash equivalents and restricted cash at end of period 53,207 67,339 59,834
Supplemental cash flow information:      
Income taxes paid 7,658 8,280 9,891
Interest paid $ 4,981 $ 2,751 $ 1,208