XML 16 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash provided by (used for) operating activities:    
Net income $ 23,031 $ 6,531
Adjustments to reconcile net income to net cash provided by (used for) operating activities:    
Depreciation and amortization 25,264 23,202
Provision for doubtful accounts 2 167
Provision for inventory write-downs 6,450 2,189
Gain on sale of Guangzhou factory (36,978) 0
Deferred income taxes (1,370) (953)
Shares issued for employee benefit plan 879 591
Employee and director stock-based compensation 6,808 9,476
Performance-based common stock warrants 747 1,122
Impairment of China factory equipment 2,886 0
Changes in operating assets and liabilities:    
Accounts receivable and contract assets (1,289) (24,440)
Inventories (9,535) (21,217)
Prepaid expenses and other assets (4,193) (2,422)
Accounts payable and accrued liabilities (13,142) 1,488
Accrued income taxes (4,134) (1,517)
Net cash provided by (used for) operating activities (4,574) (5,783)
Cash provided by (used for) investing activities:    
Proceeds from sale of Guangzhou factory 51,291 0
Acquisitions of property, plant and equipment (16,838) (29,922)
Refund of deposit received toward sale of Guangzhou factory (5,053) 0
Acquisitions of intangible assets (1,911) (1,275)
Acquisition of net assets of Residential Control Systems, Inc. 0 (8,894)
Net cash provided by (used for) investing activities 27,489 (40,091)
Cash provided by (used for) financing activities:    
Borrowings under line of credit 48,000 115,000
Repayments on line of credit (82,500) (50,987)
Proceeds from stock options exercised 864 1,107
Treasury stock purchased (12,564) (20,217)
Contingent consideration payments in connection with business combinations (3,858) 0
Net cash provided by (used for) financing activities (50,058) 44,903
Effect of exchange rate changes on cash, cash equivalents and restricted cash 1,799 (5,504)
Net increase (decrease) in cash, cash equivalents and restricted cash (25,344) (6,475)
Cash, cash equivalents and restricted cash at beginning of year 67,339 59,834
Cash, cash equivalents and restricted cash at end of period 41,995 53,359
Supplemental cash flow information:    
Income taxes paid 5,453 5,770
Interest paid $ 3,722 $ 1,697