XML 22 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Operating activities:      
Net income (loss) $ (11,480) $ 138 $ 25,537
Adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects of acquisitions :      
Depreciation and amortization 20,347 21,602 21,441
Goodwill and other intangible asset impairment 17,998 0 0
Deferred income taxes (1,186) (2,556) 1,871
Gain on sale of property, plant and equipment (662) (142) (39)
Provision for uncollectible accounts 107 1,748 6,034
Stock-based compensation expense 8,618 7,461 6,317
Other 397 289 240
Changes in operating assets and liabilities increasing (decreasing) cash, net of effects from acquisitions:      
Accounts receivable 5,504 (11,932) 4,152
Costs and estimated earnings in excess of billings on uncompleted contracts 14,548 13,567 (17,930)
Inventories (1,415) 198 606
Other assets and liabilities 369 (7,641) 7,380
Accounts payable (25,883) (37,047) 14,698
Billings on uncompleted contracts in excess of costs and estimated earnings 45,613 5,212 (38,377)
Accrued expenses 1,796 (9,643) 1,657
Net cash provided (used) by operating activities 74,671 (18,746) 33,587
Investing activities:      
Acquisitions, net of cash acquired (Note 2) (1,687) (40,819) (13,049)
Acquisition of property, plant and equipment (8,711) (11,908) (13,939)
Proceeds from asset sales 1,062 1,308 422
Net cash used by investing activities (9,336) (51,419) (26,566)
Financing activities:      
Advances under senior revolving credit facility 85,317 126,933 10,213
Repayments of advances under senior revolving credit facility (130,248) (82,251) (19,017)
Payment of debt amendment fees (364) (1,073) 0
Open market purchase of treasury shares 0 0 (10,461)
Issuances of common stock 317 253 638
Proceeds from issuance of common stock under employee stock purchase plan 293 305 335
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (627) (2,290) (4,588)
Capital contributions from noncontrolling interest 0 855 10,892
Repayment of acquired long-term debt 0 0 (1,858)
Net cash provided (used) by financing activities (45,312) 42,732 (13,846)
Effect of exchange rate changes on cash 229 (418) (758)
Net increase (decrease) in cash and cash equivalents 20,252 (27,851) (7,583)
Cash and cash equivalents, beginning of period 43,805 71,656 79,239
Cash and cash equivalents, end of period 64,057 43,805 71,656
Other cash flow information:      
Cash paid during the period for income taxes 1,410 11,968 9,365
Cash paid during the period for interest 2,719 1,788 881
Non-cash investing and financing activities:      
Accrued working capital adjustment 0 1,687 0
Purchases of property, plant and equipment on account 156 483 193
Assumption of debt from acquisition $ 0 $ 0 $ 1,858