Quarterly report pursuant to Section 13 or 15(d)

CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Net Cash Provided by (Used in) Operating Activities:    
Net income (loss) $ 26,388 $ (1,710)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 5,442 3,231
Share-based compensation 2,402 2,084
Loss on sale or abandonment of property and equipment 200 88
Amortization of debt issuance costs 107 86
Change in fair value of contingent consideration 70  
Provision for bad debt expense 760 995
Loss from inventory obsolescence 468 360
Changes in certain assets and liabilities:    
Receivables, net (1,092) (6,568)
Inventories, net (5,143) 4,531
Prepaid expenses and other current assets 3,912 (4,195)
Accounts payable (11,429) (17,842)
Accrued liabilities (3,923) 33,656
Other, net (597) 118
Net cash provided by operating activities 17,565 14,834
Cash Flows Provided by (Used in) Investing Activities:    
Purchases of property and equipment (11,266) (3,800)
Acquisition of businesses, net of cash acquired of $239 in 2018 (26,956) (41,242)
Proceeds from sale of property and equipment 70 133
Repayment of notes receivable 13 32
Net cash used in investing activities (38,139) (44,877)
Cash Flows Provided by (Used in) Financing Activities:    
Repayments of long-term debt (3,125) (5,000)
Proceeds from equipment notes 10,066  
Proceeds from revolving credit facility 55,000  
Repayments of revolving credit facility (55,000)  
Payment of debt issuance costs (1,040)  
Taxes withheld and paid on employees' equity awards (4,514) (1,583)
Repurchase of shares of common stock   (17,379)
Net cash provided by (used in) financing activities 1,387 (23,962)
CASH AND CASH EQUIVALENTS    
Decrease for the period (19,187) (54,005)
Cash and cash equivalents at beginning of year 56,521 134,375
Cash and cash equivalents at end of period 37,334 80,370
Supplemental disclosure of noncash investing activities:    
Accruals for property and equipment $ 1,116 $ 237