XML 88 R5.htm IDEA: XBRL DOCUMENT v2.4.0.8
Consolidated Statements of Cash Flows (Unaudited) (USD $)
In Thousands, unless otherwise specified
6 Months Ended
Jun. 30, 2014
Jun. 30, 2013
Cash flows from operating activities:    
Net loss $ (6,119) $ (32,424)
Stock-based compensation 1,577 1,603
Depreciation, depletion and amortization 12,115 14,859
Amortization of investment in Ecuador property 17 81
Deferred income taxes 3,011 (2,602)
Loss on extinguishment of debt 1,245 3,786
Amortization of discount and deferred financing fees 4,263 5,071
(Gain) loss on derivatives 239 (729)
Other non-cash items included in net loss (32) 43
Changes in operating assets and liabilities:    
Decrease in accounts receivable 887 16,239
Decrease in value-added tax receivable 8,731 5,489
(Increase) decrease in inventory 3,733 (236)
Increase in other assets (946) (5,770)
Decrease in income taxes receivable 161 0
Increase (decrease) in accounts payable (483) 18,696
Increase (decrease) in accrued liabilities 972 (13,699)
Decrease in income taxes payable 0 (11,932)
Decrease in other liabilities (295) (237)
Net cash provided by (used in) operating activities 29,076 (1,762)
Cash flows from investing activities:    
Property and equipment additions (19,243) (5,403)
Decrease in restricted cash 250 63,680
Purchase of investment securities 0 (1,000)
Net cash provided by (used in) investing activities (18,993) 57,277
Cash flows from financing activities:    
Borrowings   14,545
Repayments of borrowings 0 (46,139)
Deferred and other loan fees (296) (3,654)
Proceeds from sale of common stock, net 19 25
Net cash used in financing activities (277) (35,223)
Net increase in cash and cash equivalents 9,806 20,292
Cash and cash equivalents at beginning of period 57,395 83,540
Cash and cash equivalents at end of period 67,201 103,832
Cash paid for:    
Interest 9,266 9,404
Income tax 1,012 13,785
Non — cash items:    
Convertible debt exchanged 26,000  
Depletion allocated to production inventory 241 18
Asset retirement obligation capitalized to property and equipment, net of revisions 105 0
Property and equipment transferred to / from current assets / liabilities or other non-current assets $ 0 $ 952