XML 16 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Cash flows from operating activities:    
Net income $ 33,366 $ 26,387
Adjustments to reconcile net income to net cash provided by operating activities    
Depreciation and amortization of property and equipment 12,013 12,930
Write-off, accretion and amortization of debt discount and deferred financing fees 1,412 8,264
Amortization of intangible assets 21,045 20,233
Provision for losses on accounts and notes receivable 873 (230)
Provision for obsolescence of inventory 483 (85)
Equity-based compensation 436 1,499
(Gain) on sale of assets (598) (130)
Changes in assets and liabilities, net of effects of acquisitions:    
Trade accounts and notes receivable (21,837) (19,316)
Inventories (7,366) (13,444)
Accounts payable 14,590 606
Deferred income taxes (5,437) (12,373)
Prepaid expenses and other assets (2,357) (3,105)
Accrued compensation and employee benefits (16,352) (13,783)
Accrued expenses and liabilities 3,055 3,851
Liabilities to noncontrolling interest holders (2,129) 907
Income tax receivable / payable (1,834) (11,520)
Cash provided by operating activities 29,363 691
Cash flows from investing activities:    
Purchases of property and equipment (8,442) (5,024)
Proceeds from sale of assets 1,928 1,319
Acquisition of businesses, net of cash acquired (18,375) (139,939)
Cash used in investing activities (24,889) (143,644)
Cash flows from financing activities:    
Repayments on the revolving credit facility (443,920) (635,732)
Borrowings from the revolving credit facility 352,567 686,216
Payments of principal on long-term debt (2,888) (2,178)
Principal repayments of capital lease obligations (2,936) (2,492)
Proceeds from issuance of common stock in initial public offering, net of underwriting discounts   156,941
Borrowings from term loan amendment 577,616 481,225
Debt issuance costs (636) (2,487)
Payments for taxes related to net share settlement of equity awards (1,441)  
Cash provided by financing activities 746 140,268
Increase (decrease) in cash and cash equivalents 5,220 (2,685)
Balance, beginning of period 14,561 19,072
Balance, end of period 19,781 16,387
Supplemental cash flow disclosures:    
Cash paid for income taxes 28,455 30,790
Cash paid for interest 14,104 13,163
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 6,378 5,180
Issuance of installment notes associated with equity-based compensation liability awards 11,898 5,353
Second Lien Term Loan due 2022    
Cash flows from financing activities:    
Repayment of term loan / Repayment of term loan amendment   (160,000)
Second amendment to First Lien Credit Agreement    
Cash flows from financing activities:    
Repayment of term loan / Repayment of term loan amendment $ (477,616) $ (381,225)