XML 17 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements Of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities:    
Net income (loss) $ 288,862 $ (37,782)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 104,341 96,040
Lower of cost or market inventory valuation adjustment (103,838) 11,823
Earnings of equity method investments, inclusive of distributions 243 273
Gain on sale of assets (180) (65)
Loss on early extinguishment of debt attributable to unamortized discount 0 2,475
Deferred income taxes 27,386 7,527
Equity-based compensation expense 8,797 7,410
Change in fair value - derivative instruments (18,096) (5,426)
(Increase) decrease in current assets:    
Accounts receivable (136,841) (200)
Inventories 151,451 14,005
Income taxes receivable 21,111 (18,598)
Prepayments and other (5,297) (2,343)
Increase (decrease) in current liabilities:    
Accounts payable (20,065) (122,744)
Income taxes payable 33,701 288
Accrued liabilities 34,978 41,681
Turnaround expenditures (56,833) (47,977)
Other, net 4,064 14,229
Net cash provided by (used for) operating activities 333,784 (39,384)
Cash flows from investing activities:    
Additions to properties, plants and equipment (56,927) (51,492)
Purchase of PCLI, net of cash acquired 0 (840,432)
Purchases of marketable securities 0 (41,565)
Sales and maturities of marketable securities 0 465,716
Other, net 3,458 3,022
Net cash used for investing activities (66,081) (473,016)
Cash flows from financing activities:    
Borrowings under credit agreement 227,000 406,000
Repayments under credit agreement (343,500) (112,000)
Redemption of senior notes - HEP 0 (309,750)
Proceeds from issuance of common units - HEP 114,529 37,563
Purchase of treasury stock (25,182) 0
Dividends (58,856) (58,992)
Distributions to noncontrolling interest (29,237)  
Shares withheld for tax withholding obligations (465) (274)
Other, net 0 (4,374)
Net cash used for financing activities (115,711) (68,363)
Effect of exchange rate on cash flow (1,282) (304)
Cash and cash equivalents:    
Increase (decrease) for the period 150,710 (581,067)
Beginning of period 630,757 710,579
End of period 781,467 129,512
Cash paid during the period for:    
Interest (17,293) (27,111)
Income taxes, net (2,857) (2,513)
HEP    
Cash flows from investing activities:    
Additions to properties, plants and equipment (12,612) (8,265)
Cash flows from financing activities:    
Borrowings under credit agreement 500,000  
Distributions to noncontrolling interest (29,237) $ (26,536)
Cash and cash equivalents:    
Beginning of period 7,776  
End of period $ 8,565