XML 76 R6.htm IDEA: XBRL DOCUMENT v3.19.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Cash flows from operating activities:    
Net income $ 53,958 $ 33,562
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 58,793 57,109
Write-off and amortization of debt discount and debt issuance costs 2,368 1,665
Provision for losses on accounts and notes receivable 375 81
Provision for obsolescence of inventory 195 229
Effects of fair value adjustments to inventory 151 4,129
Increase in fair value of contingent consideration 380 460
Equity-based compensation 5,591 3,204
Gain on sale and disposal of assets (742) (294)
Change in fair value of financial instruments   6,395
Deferred income taxes (2,380) (5,145)
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (29,932) (45,355)
Inventories 1,800 (4,553)
Prepaid expenses and other assets 1,573 (343)
Accounts payable (5,486) 9,516
Accrued compensation and employee benefits (12,974) (9,550)
Derivative liability   (10,778)
Other accrued expenses and liabilities (3,743) 5,325
Cash provided by operating activities 69,927 45,657
Cash flows from investing activities:    
Purchases of property and equipment (14,637) (9,156)
Proceeds from sale of assets 1,056 638
Acquisition of businesses, net of cash acquired (10,633) (578,917)
Cash used in investing activities (24,214) (587,435)
Cash flows from financing activities:    
Repayments on the revolving credit facility (558,906) (469,647)
Borrowings from the revolving credit facility 562,698 623,117
Payments of principal on long-term debt (54,984) (4,984)
Payments of principal on finance lease obligations (12,310) (8,820)
Borrowings from term loan amendment   996,840
Repayments from term loan amendment   (571,840)
Debt issuance costs (1,286) (7,933)
Proceeds from exercises of stock options 6,761 973
Other financing activities 1,022 873
Cash (used in) provided by financing activities (57,005) 558,579
Effect of exchange rates on cash and cash equivalents 223 (360)
(Decrease) increase in cash and cash equivalents (11,069) 16,441
Cash and cash equivalents, beginning of period 47,338 36,437
Cash and cash equivalents, end of period 36,269 52,878
Supplemental cash flow disclosures:    
Cash paid for income taxes 25,642 10,469
Cash paid for interest $ 33,654 $ 30,966