XML 17 R6.htm IDEA: XBRL DOCUMENT v3.5.0.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Cash flows from operating activities:    
Net income (loss) $ 12,918 $ (2,523)
Adjustment to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 15,017 11,217
Unrealized foreign currency (gain) loss (620) 1,689
Net loss on interest rate swaps 342  
Fair value adjustments to earnout liabilities 460 9,889
Loss on sale of property and equipment 199 222
Non-cash interest expense 803 791
Share-based compensation expense 1,724 1,318
Bad debt expense 324 504
Inventory reserve expense 964 463
Deferred income taxes (1,111) (657)
Changes in operating assets and liabilities, net of acquisitions:    
Accounts receivable 15,221 (16,635)
Costs and estimated earnings in excess of billings on uncompleted contracts 3,449 (10,522)
Inventories 7,526 170
Prepaid expense and other current assets (2,907) 286
Deferred charges and other assets 1,068 201
Accounts payable and accrued expenses (10,010) 2,354
Billings in excess of costs and estimated earnings on uncompleted contracts 6,859 (252)
Income taxes payable 2,608 274
Other liabilities (1,955) (7,655)
Net cash provided by (used in) operating activities 52,879 (8,866)
Cash flows from investing activities:    
Acquisitions of property and equipment (811) (526)
Proceeds from sale of property and equipment 301 2,396
Net cash paid for acquisition   (37,130)
Net cash used in investing activities (510) (35,260)
Cash flows from financing activities:    
Decrease in short-term and long-term restricted cash 2,853 100
Net repayments on revolving credit lines (13,142) (1,242)
Borrowings of long-term debt   170,000
Repayments of debt (31,631) (101,966)
Financing fees paid   (2,923)
Payoff of loans on life insurance policies (987)  
Acquisition earnout payments (9,270) (1,755)
Proceeds from sale-leaseback transactions 14,244  
Payments on capital lease and sale-leaseback financing liability (241)  
Proceeds from employee stock purchase plan and exercise of stock options 763 298
Repurchases of common stock (188)  
Dividends paid to common shareholders (6,738) (5,734)
Net cash provided by (used in) financing activities (44,337) 56,778
Effect of exchange rate changes on cash and cash equivalents (412) (51)
Net increase in cash and cash equivalents 7,620 12,601
Cash and cash equivalents at beginning of period 34,194 18,162
Cash and cash equivalents at end of period 41,814 30,763
Cash paid during the period for    
Interest 5,375 2,965
Income taxes 2,344 1,812
Non-cash transactions    
Property, plant and equipment acquired under capital leases 4,385  
Common stock issued in business acquisition   $ 72,145
Noncontrolling interest acquired through an issuance of a note payable (See Note 17) 5,300  
Earnout settled through an exchange of accounts receivable $ 3,272