XML 20 R5.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities:    
Net income $ 41,732 $ 12,461
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization 47,765 61,349
Amortization and write-off of deferred loan costs and debt discount 3,790 4,084
Gain on extinguishment of debt   (6,015)
Deferred income taxes 15,573 6,650
Bad debt expense (588) (87)
Stock compensation expense 6,379 5,127
Net loss on sale of assets and asset impairments 2,988 996
Changes in assets and liabilities:    
Receivables (147,501) (124,728)
Inventories (107,865) (67,472)
Other current assets (3,605) 3,448
Other assets and liabilities 3,417 3,663
Accounts payable and checks outstanding 89,226 111,741
Accrued liabilities (27,657) (43,016)
Net cash used in operating activities (76,346) (31,799)
Cash flows from investing activities:    
Purchases of property, plant and equipment (24,568) (22,672)
Proceeds from sale of property, plant and equipment 2,004 923
Cash used for acquisitions, net   (3,970)
Net cash used in investing activities (22,564) (25,719)
Cash flows from financing activities:    
Borrowings under revolving credit facility 687,000 479,000
Repayments under revolving credit facility (588,000) (435,000)
Repayments of long-term debt and other loans (5,294) (42,189)
Payments of debt extinguishment costs   (1,050)
Payments of loan costs (2,799) (4,452)
Exercise of stock options 2,958 3,430
Repurchase of common stock (2,473) (1,092)
Net cash provided by (used in) financing activities 91,392 (1,353)
Net change in cash and cash equivalents (7,518) (58,871)
Cash and cash equivalents at beginning of period 14,449 65,063
Cash and cash equivalents at end of period $ 6,931 $ 6,192