XML 24 R8.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
Cash flows from operating activities:      
Net loss $ (3,029) $ (38,254) $ (5,734)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 16,088 18,903 16,520
Unrealized foreign currency (gain) loss (2,103) 777 2,364
Net (gain) loss on interest rate swaps (327) 95  
Impairment of property and equipment 695    
Impairment of intangible assets and goodwill 7,168 57,923 3,340
Fair value adjustments to earnout liabilities (6,610) 4,218 11,222
Earnout payments (7,797)    
Loss on sale of property and equipment 130 217 397
Amortization of debt discount 1,033 1,054 1,062
Share based compensation expense 1,768 2,280 2,070
Bad debt expense 3,895 848 702
Inventory reserve expense 240 1,167 680
Excess tax benefit from stock options exercised   (137) (44)
Deferred income tax benefit (3,123) (3,750) (3,488)
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable 14,107 13,294 (15,605)
Costs and estimated earnings in excess of billings on uncompleted contracts 6,232 2,537 4,447
Inventories 887 9,449 (3,477)
Prepaid expenses and other current assets 3,530 (2,218) 3,132
Deferred charges and other assets 1,585 (73) (191)
Accounts payable and accrued expenses (15,847) (6,593) (8,582)
Billings in excess of costs and estimated earnings on uncompleted contracts (15,186) 7,440 4,324
Income taxes payable (1,827) 143 1,166
Other liabilities 5,061 279 (1,668)
Net cash provided by operating activities 6,570 69,599 12,637
Cash flows from investing activities:      
Acquisitions of property and equipment (1,028) (1,076) (763)
Cash paid for acquisitions, net of cash acquired     (37,481)
Net proceeds from sale of assets 368 657 3,205
Net cash used in investing activities (660) (419) (35,039)
Cash flows from financing activities:      
Decrease in restricted cash 1,425 3,137 481
Net borrowings (repayments) on revolving credit lines 2,269 (13,407) (10,727)
Borrowings of long-term debt     170,000
Repayments of long-term debt (11,168) (41,768) (107,695)
Deferred financing fees paid (692)   (2,923)
Payoff of loans on life insurance policies   (987)  
Earnout payments (7,396) (9,270) (2,488)
Proceeds from sale-leaseback transactions   14,244  
Payments on capital leases and sale-leaseback financing liability (711) (426)  
Proceeds from employee stock purchase plan, exercise of stock options, and dividend reinvestment plan 1,352 1,685 205
Cash paid for repurchase of common shares   (188)  
Excess tax benefit from stock options exercised   137 44
Dividends paid to common shareholders (7,792) (8,995) (7,977)
Net cash (used in) provided by financing activities (22,713) (55,838) 38,920
Effect of exchange rate changes on cash and cash equivalents 881 (1,712) (486)
Net (decrease) increase in cash and cash equivalents (15,922) 11,630 16,032
Cash and cash equivalents at beginning of year 45,824 34,194 18,162
Cash and cash equivalents at end of year 29,902 45,824 34,194
Non-cash transactions      
Common stock issued in business acquisitions     72,145
Property, plant and equipment acquired under capital leases   4,385  
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  
Accrual of share repurchase   1,050  
Cash paid during the year for:      
Interest 5,686 6,923 4,742
Income taxes $ 3,048 $ 6,415 $ 5,080