XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Cash flows from operating activities:    
Net income (loss) $ 34,614 $ 3,624
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization of property and equipment 19,395 20,207
Accretion and amortization of debt discount and deferred financing fees 9,142 2,560
Amortization of intangible assets 32,084 27,129
Provision for losses on accounts and notes receivable (434) 3
Provision for obsolescence of inventory 427 83
Decrease in fair value of contingent consideration (388)  
Equity-based compensation 1,669 3,742
Net (gain) loss on sale or impairment of assets (242) 76
Trade accounts and notes receivable (3,179) 1,874
Inventories (25,708) (271)
Accounts payable 318 (14,132)
Deferred income tax benefit (14,773) (6,657)
Prepaid expenses and other assets (1,425) (4,123)
Accrued compensation and employee benefits (3,057) (11,929)
Other accrued expenses and liabilities (321) 5,419
Liabilities to noncontrolling interest holders 908 1,189
Income tax receivable / payable (12,690) (10,892)
Cash provided by (used in) operating activities 36,340 17,902
Cash flows from investing activities:    
Purchases of property and equipment (6,900) (3,995)
Proceeds from sale of assets 3,245 6,763
Acquisition of businesses, net of cash acquired and amounts received from working capital settlements (141,650) (83,711)
Cash used in investing activities (145,305) (80,943)
Cash flows from financing activities:    
Repayments on the revolving credit facility (817,598) (444,706)
Borrowings from the revolving credit facility 836,507 512,847
Payments of principal on long-term debt (3,381) (2,956)
Principal repayments of capital lease obligations (3,819) (3,182)
Proceeds from issuance of common stock in initial public offering, net of underwriting discounts 156,941  
Proceeds from term loan amendment 481,225  
Stock repurchases   (5,827)
Exercise of stock options   6,519
Payments of contingent consideration (4,326) (4,555)
Cash provided by financing activities 100,495 58,140
Decrease in cash and cash equivalents (8,470) (4,901)
Balance, beginning of period 19,072 12,284
Balance, end of period 10,602 7,383
Supplemental cash flow disclosures:    
Cash paid for income taxes 39,831 22,250
Cash paid for interest 20,038 24,869
Supplemental schedule of noncash activities:    
Assets acquired under capital lease 6,667 4,140
Change in fair value of derivative instrument 4 1,696
Issuance of installment notes associated with equity-based compensation liability awards 5,353 1,157
Increase (decrease) increase in insurance claims payable and insurance recoverable 856 $ (26,350)
First Lien Term Loan due 2021    
Cash flows from financing activities:    
Repayment of term loan (381,225)  
Second Lien Term Loan due 2022    
Cash flows from financing activities:    
Repayment of term loan (160,000)  
ABL Second Amendment    
Cash flows from financing activities:    
Debt issuance costs (1,342)  
First Lien Term Loan amendment    
Cash flows from financing activities:    
Debt issuance costs $ (2,487)