XML 16 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Cash flows from operating activities:    
Net income $ 15,343 $ 9,163
Adjustments to reconcile net income to net cash provided by (used in) operating activities    
Depreciation and amortization of property and equipment 5,990 6,382
Write-off, accretion and amortization of debt discount and deferred financing fees 734 6,129
Amortization of intangible assets 10,355 9,413
Provision for losses on accounts and notes receivable 849 (75)
Provision for obsolescence of inventory 371 23
Equity-based compensation 1,178 627
(Gain) on sale or impairment of assets (390) (199)
Changes in assets and liabilities, net of effects of acquisitions:    
Trade accounts and notes receivable (12,913) (19,360)
Inventories (3,318) (17,101)
Accounts payable 9,506 1,672
Deferred income taxes (2,712) (3,222)
Prepaid expenses and other assets (3,482) (3,058)
Accrued compensation and employee benefits (28,080) (24,947)
Accrued expenses and liabilities 1,020 852
Liabilities to noncontrolling interest holders 386 246
Income tax receivable / payable 11,016 2,835
Cash provided by (used in) operating activities 5,853 (30,620)
Cash flows from investing activities:    
Purchases of property and equipment (5,511) (2,607)
Proceeds from sale of assets 1,424 841
Acquisition of businesses, net of cash acquired (3,124) (26,582)
Cash used in investing activities (7,211) (28,348)
Cash flows from financing activities:    
Repayments on the revolving credit facility (257,382) (225,702)
Borrowings from the revolving credit facility 167,429 280,397
Payments of principal on long-term debt (1,444) (975)
Principal repayments of capital lease obligations (1,434) (1,213)
Proceeds from issuance of common stock in initial public offering, net of underwriting discounts   157,217
Proceeds from term loan amendment 577,616  
Debt issuance costs (636)  
Cash provided by financing activities 6,533 49,724
Increase (decrease) in cash and cash equivalents 5,175 (9,244)
Balance, beginning of period 14,561 19,072
Balance, end of period 19,736 9,828
Supplemental cash flow disclosures:    
Cash paid for income taxes 1,787 6,540
Cash paid for interest 6,792 6,613
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 2,957 3,824
Change in fair value of derivative instrument (66) (205)
Increase in insurance claims payable and insurance recoverable 1,590 161
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)