XML 45 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Cash flows from operating activities:    
Net income $ 24,820 $ 8,650
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization 29,275 26,322
Write-off and amortization of debt discount and debt issuance costs 835 825
Provision for losses on accounts and notes receivable 657 148
Provision for obsolescence of inventory 119 (22)
Effects of fair value adjustments to inventory 151 4,129
Increase in fair value of contingent consideration 228 229
Equity-based compensation 2,071 1,269
Gain on sale and disposal of assets (156) (121)
Change in fair value of financial instruments   6,019
Deferred income taxes (1,440) (571)
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (23,230) (40,974)
Inventories 18 (20,943)
Prepaid expenses and other assets (1,359) 416
Accounts payable (9,526) (1,696)
Accrued compensation and employee benefits (26,347) (22,945)
Derivative liability   (10,778)
Other accrued expenses and liabilities (8,556) 2,219
Cash used in operating activities (12,440) (47,824)
Cash flows from investing activities:    
Purchases of property and equipment (5,891) (3,793)
Proceeds from sale of assets 232 266
Acquisition of businesses, net of cash acquired (10,633) (575,499)
Cash used in investing activities (16,292) (579,026)
Cash flows from financing activities:    
Repayments on the revolving credit facility (262,107) (176,769)
Borrowings from the revolving credit facility 274,810 392,170
Payments of principal on long-term debt (2,492) (2,492)
Payments of principal on finance lease obligations (6,021) (3,998)
Borrowings from term loan   996,840
Repayments from term loan   (571,840)
Debt issuance costs   (7,933)
Proceeds from exercises of stock options 133 431
Other financing activities 1,022 873
Cash provided by financing activities 5,345 627,282
Effect of exchange rates on cash and cash equivalents 172 (4)
(Decrease) increase in cash and cash equivalents (23,215) 428
Cash and cash equivalents, beginning of period 47,338 36,437
Cash and cash equivalents, end of period 24,123 36,865
Supplemental cash flow disclosures:    
Cash paid for income taxes 18,776 958
Cash paid for interest $ 17,011 $ 10,980