XML 20 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities:    
Net income (loss) $ 649 $ (27,204)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operations:    
Impairments and other non-cash charges 0 8,617
Depreciation and amortization 19,244 19,201
Stock-based compensation expense 5,874 5,613
Provision for deferred income taxes (3,672) 546
Net provision for doubtful accounts 1,412 1,582
Gain on sale of assets (1,266) (1,841)
Gain on extinguishment of debt 0 (1,894)
Amortization of original issue discount and debt issuance costs 2,679 796
Change in assets and liabilities:    
(Increase) decrease in receivables (48,612) 18,006
(Increase) decrease in inventories (10,500) 18,981
Increase in other assets (2,773) (3,000)
Increase (decrease) in accounts payable 15,590 (20,720)
Increase in accrued liabilities and other 43,685 1,143
Net cash provided by operating activities 22,310 19,826
Cash flows from investing activities:    
Capital expenditures (16,644) (26,652)
Increase in restricted cash (29,765) (22)
Proceeds from sale of property, plant and equipment 1,222 2,553
Net cash used in investing activities (45,187) (24,121)
Cash flows from financing activities:    
Borrowings on lines of credit 0 4,268
Payments on lines of credit 0 (5,034)
Purchase of Convertible Notes due 2017 0 (9,206)
Debt issuance costs (335) (1,707)
Other financing activities 2,333 2,170
Proceeds from employee stock plans 1,517 4
Purchases of treasury stock (2,382) (1,093)
Net cash provided by (used in) financing activities 1,133 (10,598)
Effect of exchange rate changes on cash 2,103 903
Net decrease in cash and cash equivalents (19,641) (13,990)
Cash and cash equivalents at beginning of year 87,878 107,138
Cash and cash equivalents at end of period 68,237 93,148
Cash paid (received) for:    
Income taxes (net of refunds) (31,637) (22,010)
Interest $ 4,043 $ 4,143