v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 69,582 $ 92,862
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 46,449 39,893
Stock-based compensation expense 12,039 10,911
Amortization of convertible notes debt discount 5,123 4,495
Deferred income taxes (794) (1,088)
Other 235 (2,739)
Change in operating assets and liabilities, net of acquisitions of businesses:    
Trade receivables (44,359) (29,295)
Inventories 9,084 (13,238)
Prepaid expenses and other assets 4,319 4,299
Accounts payable, accrued liabilities and other 20,355 21,313
Net cash provided by operating activities 122,033 127,413
CASH FLOWS FROM INVESTING ACTIVITIES    
Capital expenditures (22,227) (26,073)
Proceeds from sale of property, equipment and other investing activities 4,509 5,125
Business acquisitions, net of cash acquired (22,350) (290,052)
Net cash used in investing activities (40,068) (311,000)
CASH FLOWS FROM FINANCING ACTIVITIES    
Term debt borrowings 7,500 36,981
Term debt repayments (3,750) (6,441)
Borrowings on revolver 648,460 954,535
Repayments on revolver (905,792) (877,931)
Stock repurchases under buyback program (3,583) (75,028)
Proceeds from issuance of senior notes 300,000 0
Proceeds from convertible notes offering 0 172,500
Purchase of convertible notes hedges 0 (31,481)
Proceeds from sale of warrants 0 18,147
Payments related to vesting of stock-based awards, net of shares tendered for taxes (3,359) (2,659)
Payment of deferred financing costs (7,214) (7,485)
Payment of contingent consideration from a business acquisition (4,416) 0
Other financing activities 6 (12)
Net cash provided by financing activities 27,852 181,126
Increase (decrease) in cash and cash equivalents 109,817 (2,461)
Cash and cash equivalents at beginning of year 6,895 2,767
Cash and cash equivalents at end of period $ 116,712 $ 306