XML 17 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Cash flows from operating activities:    
Net income $ 33,562 $ 33,366
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 57,109 33,058
Write-off and amortization of debt discount and debt issuance costs 1,665 1,412
Provision for losses on accounts and notes receivable 81 873
Provision for obsolescence of inventory 229 483
Effects of fair value adjustments to inventory 4,129 187
Increase in fair value of contingent consideration 460  
Equity-based compensation 3,204 3,019
Gain on sale and disposal of assets (294) (598)
Change in fair value of financial instruments 6,395 434
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (45,355) (21,837)
Inventories (4,553) (7,553)
Prepaid expenses and other assets (343) (5,805)
Accounts payable 9,516 14,590
Accrued compensation and employee benefits (9,550) (16,352)
Derivative liability (10,778)  
Other accrued expenses and liabilities 5,325 2,170
Deferred income taxes (5,145) (5,437)
Cash provided by operating activities 45,657 32,010
Cash flows from investing activities:    
Purchases of property and equipment (9,156) (8,442)
Proceeds from sale of assets 638 1,928
Acquisition of businesses, net of cash acquired (578,917) (18,375)
Cash used in investing activities (587,435) (24,889)
Cash flows from financing activities:    
Repayments on the revolving credit facility (469,647) (443,920)
Borrowings from the revolving credit facility 623,117 352,567
Payments of principal on long-term debt (4,984) (2,888)
Payments of principal on capital lease obligations (8,820) (2,936)
Borrowings from term loan 996,840 577,616
Repayments of term loan (571,840) (477,616)
Debt issuance costs (7,933) (3,283)
Proceeds from exercises of stock options 973  
Other financing activities 873 (1,441)
Cash provided by (used in) financing activities 558,579 (1,901)
Effect of exchange rates on cash and cash equivalents (360)  
Increase in cash and cash equivalents 16,441 5,220
Cash and cash equivalents, beginning of period 36,437 14,561
Cash and cash equivalents, end of period 52,878 19,781
Supplemental cash flow disclosures:    
Cash paid for income taxes 10,469 28,455
Cash paid for interest 30,966 14,104
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 91,005 6,378
Issuance of installment notes associated with equity-based compensation liability awards $ 4,001 $ 11,898