XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Cash flows from operating activities:    
Net income $ 64,837 $ 39,377
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 88,215 87,329
Write-off and amortization of debt discount and debt issuance costs 2,964 2,505
Provision for losses on accounts and notes receivable 104 240
Provision for obsolescence of inventory 221 416
Effects of fair value adjustments to inventory 461 4,129
Increase in fair value of contingent consideration 1,601 535
Equity-based compensation 6,345 4,706
Gain on sale and disposal of assets (872) (412)
Change in fair value of financial instruments   6,395
Deferred income taxes 174 (18,470)
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable 16,561 23,243
Inventories 317 (11,576)
Prepaid expenses and other assets 4,210 (968)
Accounts payable (30,420) (17,856)
Accrued compensation and employee benefits (11,729) (3,824)
Derivative liability   (10,778)
Other accrued expenses and liabilities (7,622) 446
Cash provided by operating activities 135,367 105,437
Cash flows from investing activities:    
Purchases of property and equipment (20,884) (13,385)
Proceeds from sale of assets 1,299 910
Acquisition of businesses, net of cash acquired (20,803) (579,731)
Cash used in investing activities (40,388) (592,206)
Cash flows from financing activities:    
Repayments on the revolving credit facility (794,623) (748,999)
Borrowings from the revolving credit facility 760,444 886,896
Payments of principal on long-term debt (57,476) (7,476)
Payments of principal on finance lease obligations (17,971) (13,923)
Borrowings from term loan amendment   996,840
Repayments from term loan amendment   (571,840)
Repurchases of common stock   (11,514)
Debt issuance costs (1,286) (7,933)
Proceeds from exercises of stock options 8,280 1,280
Other financing activities 1,261 1,355
Cash (used in) provided by financing activities (101,371) 524,686
Effect of exchange rates on cash and cash equivalents 3 (7)
(Decrease) increase in cash and cash equivalents (6,389) 37,910
Cash and cash equivalents, beginning of period 47,338 36,437
Cash and cash equivalents, end of period 40,949 74,347
Supplemental cash flow disclosures:    
Cash paid for income taxes 30,199 16,121
Cash paid for interest $ 49,224 $ 45,724