XML 22 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
Operating activities:      
Net income (loss) $ 27,982 $ (11,480) $ 138
Adjustments to reconcile net income to net cash provided (used) by operating activities, net of effects of acquisitions:      
Depreciation and amortization 18,224 20,347 21,602
Goodwill and other intangible asset impairment 0 17,998 0
Stock-based compensation expense 11,908 8,618 7,461
Deferred income taxes 2,061 (1,186) (2,556)
Gain on disposal of business (Note 3) (427) 0 0
Gain on sale of property, plant and equipment (854) (662) (142)
Provision for uncollectible accounts 5 107 1,748
Other 701 397 289
Changes in operating assets and liabilities increasing (decreasing) cash, net of effects from acquisitions:      
Accounts receivable (15,374) 5,504 (11,932)
Costs and estimated earnings in excess of billings on uncompleted contracts (19,809) 14,548 13,567
Inventories (2,872) (1,415) 198
Other assets and liabilities (12,246) 369 (7,641)
Accounts payable 32,651 (25,883) (37,047)
Billings on uncompleted contracts in excess of costs and estimated earnings (14,983) 45,613 5,212
Accrued expenses 14,427 1,796 (9,643)
Net cash provided (used) by operating activities 41,394 74,671 (18,746)
Investing activities:      
Capital expenditures (19,558) (8,711) (11,908)
Acquisitions, net of cash acquired (Note 3) 0 (1,687) (40,819)
Proceeds from disposal of business (Note 3) 3,885 0 0
Proceeds from asset sales 1,225 1,062 1,308
Net cash used by investing activities (14,448) (9,336) (51,419)
Financing activities:      
Advances under senior secured revolving credit facility 16,225 85,317 126,933
Repayments of advances under senior secured revolving credit facility (10,896) (130,248) (82,251)
Payment of debt amendment fees 0 (364) (1,073)
Open market purchase of treasury shares (5,190) 0 0
Issuances of common stock 128 317 253
Proceeds from issuance of common stock under employee stock purchase plan 311 293 305
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (1,685) (627) (2,290)
Capital contributions from noncontrolling interest 0 0 855
Net cash provided (used) by financing activities (1,107) (45,312) 42,732
Effect of exchange rate changes on cash (181) 229 (418)
Net increase (decrease) in cash and cash equivalents 25,658 20,252 (27,851)
Cash and cash equivalents, beginning of period 64,057 43,805 71,656
Cash and cash equivalents, end of period 89,715 64,057 43,805
Other cash flow information:      
Cash paid during the period for income taxes 3,309 1,410 11,968
Cash paid during the period for interest 1,705 2,719 1,788
Non-cash investing and financing activities:      
Accrued acquisition working capital adjustment (Note 3) 0 0 1,687
Purchases of property, plant and equipment on account $ 2,686 $ 156 $ 483