XML 39 R28.htm IDEA: XBRL DOCUMENT v3.10.0.1
DERIVATIVES (Tables)
6 Months Ended
Jun. 30, 2018
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of Fair Value of Derivative Instruments
The following tables provide information about the fair values of these derivative instruments as of June 30, 2018 and December 31, 2017 and the line items in the condensed consolidated balance sheet in which the fair values are reflected.
Description

Balance Sheet Location
Fair Value
Asset/(Liability)
Derivatives designated as hedging instruments:
 
 
June 30, 2018:
 
 
Derivatives included with the inventory intermediation agreement obligations
Accrued expenses
$
(10,259
)
December 31, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Accrued expenses
$
(7,721
)
 
 
 
Derivatives not designated as hedging instruments:
 
 
June 30, 2018:
 
 
Commodity contracts
Accrued expenses
$
(41,486
)
December 31, 2017:
 
 
Commodity contracts
Accrued expenses
$
(74,320
)
Schedule of Derivative Instruments, Gain (Loss) Recognized in Income
The following table provides information about the gains or losses recognized in income on these derivative instruments and the line items in the condensed consolidated statements of operations in which such gains and losses are reflected.
Description
Location of Gain or (Loss) Recognized in
 Income on Derivatives
Gain or (Loss)
Recognized in
Income on Derivatives
Derivatives designated as hedging instruments:
 
 
For the three months ended June 30, 2018:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
6,287

For the three months ended June 30, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
(20,017
)
For the six months ended June 30, 2018:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
(2,538
)
For the six months ended June 30, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
3,107

 
 
 
Derivatives not designated as hedging instruments:
 
 
For the three months ended June 30, 2018:
 
 
Commodity contracts
Cost of products and other
$
(33,079
)
For the three months ended June 30, 2017:
 
 
Commodity contracts
Cost of products and other
$
14,293

For the six months ended June 30, 2018:
 
 
Commodity contracts
Cost of products and other
$
(46,360
)
For the six months ended June 30, 2017:
 
 
Commodity contracts
Cost of products and other
$
14,684

 
 
 
Hedged items designated in fair value hedges:
 
 
For the three months ended June 30, 2018:
 
 
Intermediate and refined product inventory
Cost of products and other
$
(6,287
)
For the three months ended June 30, 2017:
 
 
Intermediate and refined product inventory
Cost of products and other
$
20,017

For the six months ended June 30, 2018:
 
 
Intermediate and refined product inventory
Cost of products and other
$
2,538

For the six months ended June 30, 2017:
 
 
Intermediate and refined product inventory
Cost of products and other
$
(3,107
)