XML 63 R7.htm IDEA: XBRL DOCUMENT v3.19.3
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2018
Cash flows from operating activities:          
Net income (loss) $ 1,931 $ (12,915) $ 9,310 $ (8,053)  
Adjustment to reconcile net income (loss) to net cash (used in) provided by operating activities:          
Depreciation and amortization 2,633 3,937 8,153 10,097  
Unrealized foreign currency loss     496 763  
Net gain on interest rate swaps     (248) (130)  
Fair value adjustments to earnout liabilities       (330)  
Earnout payments       (2,862)  
Loss (gain) on sale of property and equipment     58 (214)  
Loss on divestitures, net of selling costs   15,074 70 3,970  
Debt discount amortization     928 862  
Share-based compensation expense     2,684 2,342  
Bad debt expense 300 600 710 1,225  
Inventory reserve expense     454 554  
Deferred income tax benefit     (595) (1,079)  
Changes in operating assets and liabilities, net of divestitures:          
Accounts receivable     (6,090) (20,056)  
Costs and estimated earnings in excess of billings on uncompleted contracts     (5,196) (4,446)  
Inventories     527 (3,161)  
Prepaid expense and other current assets     (3,853) (1,584)  
Deferred charges and other assets     (1,628) (736)  
Accounts payable and accrued expenses     (4,217) 19,183  
Billings in excess of costs and estimated earnings on uncompleted contracts     2,879 8,355  
Income taxes payable     (1,679) (23)  
Other liabilities     (3,396) (1,035)  
Net cash (used in) provided by operating activities     (633) 3,642  
Cash flows from investing activities:          
Acquisitions of property and equipment     (3,746) (1,897)  
Net cash proceeds from divestitures       33,064  
Proceeds from sale of property and equipment     509 6,311  
Net cash (used in) provided by investing activities     (3,237) 37,478  
Cash flows from financing activities:          
Net repayments on revolving credit lines     (6,147) (3,754)  
Repayments of debt     (2,325) (34,256)  
Deferred financing fees paid     (1,117)    
Proceeds from lease financing transaction       800  
Payments on finance leases and financing liability     (368) (508)  
Proceeds from employee stock purchase plan and exercise of stock options     76 82  
Net cash used in financing activities     (9,881) (37,636)  
Effect of exchange rate changes on cash, cash equivalents and restricted cash     (448) (1,433)  
Net (decrease) increase in cash, cash equivalents and restricted cash     (14,199) 2,051  
Cash, cash equivalents and restricted cash at beginning of period     44,438 30,659 $ 30,659
Cash, cash equivalents and restricted cash at end of period $ 30,239 $ 32,710 30,239 32,710 $ 44,438
Cash paid during the period for:          
Interest     2,651 4,288  
Income taxes     $ 5,234 $ 8,567