XML 16 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Cash flows from operating activities:    
Net income $ 8,650 $ 15,343
Adjustments to reconcile net income to net cash (used in) provided by operating activities:    
Depreciation and amortization 26,322 16,345
Write-off and amortization of debt discount and debt issuance costs 825 734
Provision for losses on accounts and notes receivable 148 849
Provision for obsolescence of inventory (22) 371
Effects of fair value adjustments to inventory 4,129  
Increase in fair value of contingent consideration 229  
Equity-based compensation 1,269 1,178
Gain on sale and disposal of assets (121) (390)
Change in fair value of financial instruments 6,019 196
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (40,974) (12,913)
Inventories (20,943) (3,318)
Prepaid expenses and other assets 416 (2,996)
Accounts payable (1,696) 9,506
Accrued compensation and employee benefits (22,945) (27,694)
Derivative liability (10,778)  
Other accrued expenses and current liabilities 2,219 14,026
Deferred income taxes (571) (2,712)
Cash (used in) provided by operating activities (47,824) 8,525
Cash flows from investing activities:    
Purchases of property and equipment (3,793) (5,511)
Proceeds from sale of assets 266 1,424
Acquisition of businesses, net of cash acquired (575,499) (3,124)
Cash used in investing activities (579,026) (7,211)
Cash flows from financing activities:    
Repayments on the revolving credit facility (176,769) (257,382)
Borrowings from the revolving credit facility 392,170 167,429
Payments of principal on long-term debt (2,492) (1,444)
Payments of principal on capital lease obligations (3,998) (1,434)
Borrowings from term loan 996,840 577,616
Repayments of term loan (571,840) (477,616)
Debt issuance costs (7,933) (3,308)
Proceeds from exercises of stock options 431  
Other financing activities 873  
Cash provided by financing activities 627,282 3,861
Effect of exchange rates on cash and cash equivalents (4)  
Increase in cash and cash equivalents 428 5,175
Cash and cash equivalents, beginning of period 36,437 14,561
Cash and cash equivalents, end of period 36,865 19,736
Supplemental cash flow disclosures:    
Cash paid for income taxes 958 1,787
Cash paid for interest 10,980 6,792
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 79,139 2,957
Issuance of installment notes associated with equity-based compensation liability awards 2,645  
Increase in insurance claims payable and insurance recoverable $ 2,231 $ 1,590