XML 21 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Operating activities:      
Net income (loss) $ 138 $ 25,537 $ (1,898)
Adjustments to reconcile net income to net cash provided by operating activities, net of effects of acquisitions :      
Depreciation and amortization 21,602 21,441 23,480
Deferred income taxes (2,556) 1,871 (1,052)
(Gain) loss on sale of property, plant and equipment (142) (39) (252)
Provision for uncollectible accounts 1,748 6,034 357
Stock-based compensation expense 7,461 6,317 6,302
Other 289 240 238
Changes in operating assets and liabilities increasing (decreasing) cash, net of effects from acquisitions:      
Accounts receivable (11,932) 4,152 6,831
Costs and estimated earnings in excess of billings on uncompleted contracts 13,567 (17,930) (13,063)
Inventories 198 606 272
Other assets and liabilities (7,641) 7,380 11,558
Accounts payable (37,047) 14,698 12,957
Billings on uncompleted contracts in excess of costs and estimated earnings 5,212 (38,377) (11,736)
Accrued expenses (9,643) 1,657 (7,754)
Net cash provided by operating activities (18,746) 33,587 26,240
Investing activities:      
Acquisitions, net of cash acquired (Note 2) (40,819) (13,049) (5,551)
Acquisition of property, plant and equipment (11,908) (13,939) (15,773)
Proceeds from asset sales 1,308 422 750
Net cash used by investing activities (51,419) (26,566) (20,574)
Financing activities:      
Advances under senior revolving credit facility 126,933 10,213 11,165
Repayments of advances under senior revolving credit facility (82,251) (19,017) (13,982)
Payment of debt amendment fees (1,073) 0 0
Open market purchase of treasury shares 0 (10,461) (5,000)
Issuances of common stock 253 638 493
Proceeds from issuance of common stock under employee stock purchase plan 305 335 298
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (2,290) (4,588) (2,528)
Capital contributions from noncontrolling interest 855 10,892 8,546
Repayment of acquired long-term debt 0 (1,858) 0
Net cash provided (used) by financing activities 42,732 (13,846) (1,008)
Effect of exchange rate changes on cash (418) (758) (2,534)
Net increase (decrease) in cash and cash equivalents (27,851) (7,583) 2,124
Cash and cash equivalents, beginning of period 71,656 79,239 77,115
Cash and cash equivalents, end of period 43,805 71,656 79,239
Other cash flow information:      
Cash paid during the period for income taxes 11,968 9,365 6,960
Cash paid during the period for interest 1,788 881 1,281
Non-cash investing and financing activities:      
Accrued working capital adjustment 1,687 0 0
Purchases of property, plant and equipment on account 483 193 439
Assumption of debt from acquisition $ 0 $ 1,858 $ 0