XML 39 R28.htm IDEA: XBRL DOCUMENT v3.7.0.1
DERIVATIVES (Tables)
6 Months Ended
Jun. 30, 2017
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, 2017 and December 31, 2016 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, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Accrued expenses
$
9,165

December 31, 2016:
 
 
Derivatives included with the inventory intermediation agreement obligations
Accrued expenses
$
6,058

 
 
 
Derivatives not designated as hedging instruments:
 
 
June 30, 2017:
 
 
Commodity contracts
Accounts receivable
$
19,330

December 31, 2016:
 
 
Commodity contracts
Accrued expenses
$
3,508

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 statement 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, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
(20,017
)
For the three months ended June 30, 2016:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
8,973

For the six months ended June 30, 2017:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
3,107

For the six months ended June 30, 2016:
 
 
Derivatives included with the inventory intermediation agreement obligations
Cost of products and other
$
(26,172
)
 
 
 
Derivatives not designated as hedging instruments:
 
 
For the three months ended June 30, 2017:
 
 
Commodity contracts
Cost of products and other
$
14,293

For the three months ended June 30, 2016:
 
 
Commodity contracts
Cost of products and other
$
(19,134
)
For the six months ended June 30, 2017:
 
 
Commodity contracts
Cost of products and other
$
14,684

For the six months ended June 30, 2016:
 
 
Commodity contracts
Cost of products and other
$
(39,087
)
 
 
 
Hedged items designated in fair value hedges:
 
 
For the three months ended June 30, 2017:
 
 
Intermediate and refined product inventory
Cost of products and other
$
20,017

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