XML 22 R5.htm IDEA: XBRL DOCUMENT v3.5.0.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Cash flows from operating activities:    
Net income (loss) $ (59,522) $ 26,925
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:    
Depreciation, depletion and amortization 19,839 12,852
Impairment expense 0 9,639
Loss on termination of financing agreements 0 19,229
Non-cash interest expense 11,426 10,885
Change in value of common stock warrants (3,477) 2,732
Change in value of contingent consideration (10,753) 18,679
Deferred taxes (8,565) (18,073)
Stock-based compensation 5,103 4,040
Unrealized loss (gain) on derivative contracts (5,804) 4,786
Equity losses from Laramie Energy, LLC 15,159 6,131
Net changes in operating assets and liabilities:    
Trade accounts receivable 3,233 42,432
Prepaid and other assets 29,258 (851)
Inventories 50,390 19,382
Deferred turnaround expenditures (34,969) 0
Obligations under inventory financing agreements (11,795) 19,719
Accounts payable and other accrued liabilities (35,941) (34,161)
Contingent consideration (4,830) 0
Net cash provided by (used in) operating activities (41,248) 144,346
Cash flows from investing activities    
Acquisition of Wyoming Refining Company, net of cash acquired (209,183) 0
Acquisition of Par Hawaii, Inc., net of cash acquired 0 (64,360)
Capital expenditures (19,276) (15,857)
Proceeds from sale of assets 2,323 0
Change in restricted cash (10,000) 0
Investment in Laramie Energy, LLC (55,000) (27,529)
Net cash used in investing activities (291,136) (107,746)
Cash flows from financing activities    
Proceeds from sale of common stock, net of offering costs 49,315 539
Proceeds from borrowings 301,782 90,900
Repayments of borrowings (137,791) (114,164)
Net borrowings (repayments) on deferred payment arrangement 26,654 (8,492)
Payment of deferred loan costs (6,805) (5,941)
Purchase of common stock for retirement (325) 0
Contingent consideration settlements (11,980) 0
Proceeds from inventory financing agreements 0 271,000
Payments for termination of supply and exchange agreements 0 (257,811)
Net cash provided by (used in) financing activities 220,850 (23,969)
Net increase (decrease) in cash and cash equivalents (111,534) 12,631
Cash at beginning of period 167,788 89,210
Cash at end of period 56,254 101,841
Supplemental cash flow information:    
Cash received (paid) for interest (7,573) (4,224)
Cash received (paid) for taxes 139 357
Non-cash investing and financing activities:    
Accrued capital expenditures 2,583 2,852
Value of warrants and debt reclassified to equity $ 3,084 $ 7,730