XML 25 R8.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Cash flows from operating activities:      
Net loss $ (7,121) $ (3,029) $ (38,254)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 13,272 16,088 18,903
Unrealized foreign currency loss (gain) 836 (2,103) 777
Net (gain) loss on interest rate swaps (276) (327) 95
Impairment of property and equipment 300 695  
Impairment of intangible assets and goodwill   7,168 57,923
Fair value adjustments to earnout liabilities (330) (6,610) 4,218
Earnout payments (2,862) (7,797)  
Loss on sale of property and equipment (217) 130 217
Loss on divestitures 4,390    
Amortization of debt discount 1,143 1,033 1,054
Share based compensation expense 3,187 1,768 2,280
Bad debt expense 1,357 3,895 848
Inventory reserve expense 519 240 1,167
Excess tax benefit from stock options exercised     (137)
Deferred income tax benefit (42) (3,123) (3,750)
Changes in operating assets and liabilities, net of acquisitions and divestitures:      
Accounts receivable (6,084) 14,107 13,294
Cost and estimated earnings of billings on uncompleted contracts (4,557) 6,232 2,537
Inventories (1,704) 887 9,449
Prepaid expenses and other current assets 773 3,530 (2,218)
Deferred charges and other assets (416) 1,585 (73)
Accounts payable and accrued expenses 21,321 (15,847) (6,593)
Billings in excess of costs and estimated earnings on uncompleted contracts 70 (15,186) 7,440
Income taxes payable 1,839 (1,827) 143
Other liabilities (3,446) 5,061 279
Net cash provided by operating activities 21,952 6,570 69,599
Cash flows from investing activities:      
Acquisitions of property and equipment (3,090) (1,028) (1,076)
Net cash proceeds from divestitures 35,052    
Payoff of loans on life insurance policies     (987)
Net proceeds from sale of assets 6,296 368 657
Net cash provided by (used in) investing activities 38,258 (660) (1,406)
Cash flows from financing activities:      
Net (repayments) borrowings on revolving credit lines (3,723) 2,269 (13,407)
Repayments of long-term debt (41,356) (11,168) (41,768)
Deferred financing fees paid   (692)  
Earnout payments   (7,396) (9,270)
Proceeds from sale-leaseback transactions 800   14,244
Payments on capital leases and sale-leaseback financing liability (675) (711) (426)
Proceeds from employee stock purchase plan, exercise of stock options, and dividend reinvestment plan 54 1,352 1,685
Cash paid for repurchase of common shares     (188)
Excess tax benefit from stock options exercised     137
Dividends paid to common shareholders   (7,792) (8,995)
Net cash used in financing activities (44,900) (24,138) (57,988)
Effect of exchange rate changes on cash and cash equivalents (1,531) 881 (1,712)
Net increase (decrease) in cash, cash equivalents and restricted cash 13,779 (17,347) 8,493
Cash, cash equivalents and restricted cash at beginning of year 30,659 48,006 39,513
Cash, cash equivalents and restricted cash at end of year 44,438 30,659 48,006
Non-cash transactions      
Property, plant and equipment acquired under capital leases     4,385
Noncontrolling interest acquired through an issuance of a note payable (See Note 16)     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,559 5,686 6,923
Income taxes $ 10,205 $ 3,048 $ 6,415