XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.4
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Cash flows from operating activities:    
Net income $ 71,814 $ 64,837
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 79,904 88,215
Write-off and amortization of debt discount and debt issuance costs 2,257 2,964
Equity-based compensation 10,318 6,345
Gain on disposal and impairment of assets (529) (872)
Deferred income taxes (9,645) 174
Other items, net 105 2,387
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable 1,352 16,561
Inventories (24,391) 317
Prepaid expenses and other assets 1,040 4,210
Accounts payable (58,104) (30,420)
Accrued compensation and employee benefits (11,932) (11,729)
Other accrued expenses and liabilities 6,307 (7,622)
Cash provided by operating activities 68,496 135,367
Cash flows from investing activities:    
Purchases of property and equipment (17,857) (20,884)
Proceeds from sale of assets 1,233 1,299
Acquisition of businesses, net of cash acquired (51) (20,803)
Cash used in investing activities (16,675) (40,388)
Cash flows from financing activities:    
Repayments on revolving credit facilities (102,189) (794,623)
Borrowings from revolving credit facilities 14,750 760,444
Payments of principal on long-term debt (7,476) (57,476)
Payments of principal on finance lease obligations (22,662) (17,971)
Repurchases of common stock (2,000)  
Debt issuance costs   (1,286)
Proceeds from exercises of stock options 3,656 8,280
Payments for taxes related to net share settlement of equity awards (807) (532)
Other financing activities 2,076 1,793
Cash used in financing activities (114,652) (101,371)
Effect of exchange rates on cash and cash equivalents 2,495 3
Decrease in cash and cash equivalents (60,336) (6,389)
Cash and cash equivalents, beginning of period 210,909 47,338
Cash and cash equivalents, end of period 150,573 40,949
Supplemental cash flow disclosures:    
Cash paid for income taxes 31,942 30,199
Cash paid for interest $ 38,114 $ 49,224