DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES | 7. DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES We are exposed to financial market risks, including changes in interest rates and commodity prices, in the course of our normal business operations. We use derivative instruments to manage such risks. Interest Rate Derivatives From time to time, we utilize forward-starting interest rate swaps to hedge the variability of the forecasted interest payments on anticipated debt issuances that may result from changes in the benchmark interest rate until the expected debt is issued. When entering into interest rate swap transactions, we become exposed to both credit risk and market risk. We are subject to credit risk when the change in fair value of the swap instrument is positive and the counterparty may fail to perform under the terms of the contract. We are subject to market risk with respect to changes in the underlying benchmark interest rate that impacts the fair value of the swaps. We manage our credit risk by entering into swap transactions only with major financial institutions with investment-grade credit ratings. We manage our market risk by aligning the swap instrument with the existing underlying debt obligation or a specified expected debt issuance, generally associated with the maturity of an existing debt obligation. We designate the swap agreements as cash flow hedges at inception and expect the changes in values to be highly correlated with the changes in value of the underlying borrowings. During 2016, we entered into seven forward-starting interest rate swaps with a total aggregate notional amount of $350.0 million , which we entered into in anticipation of the issuance of debt on or before January 15, 2018, and eleven forward-starting interest rate swaps with a total aggregate notional amount of $500.0 million , which we entered into in anticipation of the issuance of debt on or before November 15, 2018. We expect to issue new fixed-rate debt on or before January 15, 2018 to repay the $300.0 million of 6.050% notes that are due on January 15, 2018, and on or before November 15, 2018 to repay the $400.0 million of 2.650% notes that are due on November 15, 2018, as well as to fund capital expenditures and other general partnership purposes, although no assurances can be given that the issuance of fixed-rate debt will be possible on acceptable terms. During the three and six months ended June 30, 2017 , unrealized losses of $12.2 million and $10.5 million , respectively, were recorded in accumulated other comprehensive income (“AOCI”) to reflect the change in the fair values of the forward-starting interest rate swaps. Commodity Derivatives Our Merchant Services segment primarily uses exchange-traded refined petroleum product futures contracts to manage the risk of market price volatility on its refined petroleum product inventories and its physical derivative contracts, which we designated as fair value hedges, with changes in fair value of both the futures contracts and physical inventory reflected in earnings. Our Merchant Services segment also uses exchange-traded refined petroleum contracts to hedge expected future transactions related to certain gasoline inventory that we manage on behalf of a third party, which are designated as cash flow hedges, with the effective portion of the hedge reported in other comprehensive income (“OCI”) and reclassified into earnings when the expected future transaction affects earnings. Any gains or losses incurred on the derivative instruments that are not effective in offsetting changes in fair value or cash flows of the hedged item are recognized immediately in earnings. Additionally, our Merchant Services segment enters into exchange-traded refined petroleum product futures contracts on behalf of our Domestic Pipelines & Terminals segment to manage the risk of market price volatility on the gasoline-to-butane pricing spreads associated with our butane blending activities managed by a third party. These futures contracts are not designated in a hedge relationship for accounting purposes. Physical forward contracts and futures contracts that have not been designated in a hedge relationship are marked-to-market. The following table summarizes our commodity derivative instruments outstanding at June 30, 2017 (amounts in thousands of gallons): Volume (1) Derivative Purpose Current Long-Term Derivatives NOT designated as hedging instruments: Physical fixed price derivative contracts 14,166 1,903 Physical index derivative contracts 34,959 — Futures contracts for refined petroleum products 6,675 13,566 Hedge Type Derivatives designated as hedging instruments: Cash flow hedge contracts 9,198 — Cash Flow Hedge Futures contracts for refined petroleum products 156,072 11,004 Fair Value Hedge (1) Volume represents absolute value of net notional volume position. Our futures contracts designated as fair value hedges related to our inventory portfolio and our futures contracts designated as cash flow hedges related to refined petroleum products extend to the fourth quarter of 2018 . Effective January 2017, the Chicago Mercantile Exchange (“CME”) amended its rulebook, resulting in the characterization of variation margin transfers as settlement payments, as opposed to adjustments to collateral. These amendments impacted the accounting treatment of our exchange-traded derivatives contracts, primarily comprised of our futures contracts, for which the CME serves as the central clearing party, and exchange-settled derivatives traded on the over-the-counter (“OTC”) market. As a result, commencing with the first quarter of 2017, we began reducing the corresponding derivative asset and liability balances for our exchange-settled derivative contracts to reflect the settlement of those positions via the variation margin. The variation margin is now considered partial settlement of the derivative contract and will result in realized gains or losses which, prior to January 1, 2017, were classified as unrealized gains or losses on derivatives. In addition, we maintain an initial margin deposit with the broker in an amount sufficient to cover the fair value of our open futures positions. This margin deposit is considered collateral and is included within prepaid and other current assets in our condensed consolidated balance sheets and is not offset against the fair values of our derivative instruments. The following table sets forth the fair value of each classification of derivative instruments and the locations of the derivative instruments on our unaudited condensed consolidated balance sheets at the dates indicated (in thousands): June 30, 2017 Derivatives NOT Designated as Hedging Instruments Derivatives Designated as Hedging Instruments Derivative Carrying Value Netting Balance Sheet Adjustment (1) Net Total Physical fixed price derivative contracts $ 4,518 $ — $ 4,518 $ (53 ) $ 4,465 Physical index derivative contracts 331 — 331 (1 ) 330 Interest rates derivatives — 21,252 21,252 — 21,252 Total current derivative assets 4,849 21,252 26,101 (54 ) 26,047 Physical fixed price derivative contracts 238 — 238 — 238 Interest rates derivatives — 30,894 30,894 — 30,894 Total non-current derivative assets 238 30,894 31,132 — 31,132 Physical fixed price derivative contracts (170 ) — (170 ) 53 (117 ) Physical index derivative contracts (2 ) — (2 ) 1 (1 ) Total current derivative liabilities (172 ) — (172 ) 54 (118 ) Net derivative assets $ 4,915 $ 52,146 $ 57,061 $ — $ 57,061 December 31, 2016 Derivatives NOT Designated as Hedging Instruments Derivatives Designated as Hedging Instruments Derivative Carrying Value Netting Balance Sheet Adjustment (1) Net Total Physical fixed price derivative contracts $ 1,499 $ — $ 1,499 $ (306 ) $ 1,193 Physical index derivative contracts 334 — 334 (1 ) 333 Futures contracts for refined products 51,431 21 51,452 (51,452 ) — Total current derivative assets 53,264 21 53,285 (51,759 ) 1,526 Physical fixed price derivative contracts 164 — 164 (5 ) 159 Futures contracts for refined products 226 — 226 (226 ) — Interest rates derivatives — 62,609 62,609 — 62,609 Total non-current derivative assets 390 62,609 62,999 (231 ) 62,768 Physical fixed price derivative contracts (4,517 ) — (4,517 ) 306 (4,211 ) Physical index derivative contracts (1 ) — (1 ) 1 — Futures contracts for refined products (57,828 ) (15,685 ) (73,513 ) 51,452 (22,061 ) Total current derivative liabilities (62,346 ) (15,685 ) (78,031 ) 51,759 (26,272 ) Physical fixed price derivative contracts (61 ) — (61 ) 5 (56 ) Futures contracts for refined products (4,384 ) — (4,384 ) 226 (4,158 ) Total non-current derivative liabilities (4,445 ) — (4,445 ) 231 (4,214 ) Net derivative (liabilities) assets $ (13,137 ) $ 46,945 $ 33,808 $ — $ 33,808 (1) Amounts represent the netting of physical fixed and index contracts’ assets and liabilities when a legal right of offset exists. Futures contracts are subject to settlement through margin requirements and are additionally presented on a net basis. At June 30, 2017 , open refined petroleum product derivative contracts (represented by the physical fixed-price contracts, physical index contracts, and futures contracts for refined products contracts noted above) varied in duration in the overall portfolio, but did not extend beyond December 2018 . In addition, at June 30, 2017 , we had refined petroleum product inventories that we intend to use to satisfy a portion of the physical derivative contracts. The gains and losses on our derivative instruments recognized in income were as follows for the periods indicated (in thousands): Three Months Ended Six Months Ended Location 2017 2016 2017 2016 Derivatives NOT designated as hedging instruments: Physical fixed price derivative contracts Product sales $ 4,465 $ (5,309 ) $ 6,952 $ (7,564 ) Physical index derivative contracts Product sales 17 15 1 (12 ) Physical fixed price derivative contracts Cost of product sales (549 ) 2,371 (82 ) 7,486 Physical index derivative contracts Cost of product sales 175 (51 ) 338 163 Futures contracts for refined products Cost of product sales (710 ) 6,115 (800 ) 4,633 Derivatives designated as fair value hedging instruments: Futures contracts for refined products Cost of product sales $ 19,274 $ (28,568 ) $ 52,851 $ (26,955 ) Physical inventory - hedged items Cost of product sales (20,349 ) 31,681 (40,700 ) 40,007 Ineffectiveness excluding the time value component on fair value hedging instruments: Fair value hedge ineffectiveness (excluding time value) Cost of product sales $ (1,671 ) $ (660 ) $ (2,630 ) $ (13 ) Time value excluded from hedge assessment Cost of product sales 596 3,773 14,781 13,065 Net (loss) gain in income $ (1,075 ) $ 3,113 $ 12,151 $ 13,052 The change in value recognized in OCI and the gains and losses reclassified from AOCI to income attributable to our derivative instruments designated as cash flow hedges were as follows for the periods indicated (in thousands): (Loss) Gain Recognized in OCI on Derivatives for the Three Months Ended Six Months Ended 2017 2016 2017 2016 Derivatives designated as cash flow hedging instruments: Interest rate contracts $ (12,173 ) $ — $ (10,463 ) $ — Commodity derivatives 2,957 — 4,232 — Total $ (9,216 ) $ — $ (6,231 ) $ — (Loss) Gain Reclassified from AOCI to Income (Effective Portion) for the Three Months Ended Six Months Ended Location 2017 2016 2017 2016 Derivatives designated as cash flow hedging instruments: Interest rate contracts Interest and debt expense $ (3,037 ) $ (3,037 ) $ (6,075 ) $ (6,075 ) Commodity derivatives Product Sales — — — 1,266 Total $ (3,037 ) $ (3,037 ) $ (6,075 ) $ (4,809 ) Over the next twelve months, we expect to reclassify $10.5 million of net losses attributable to interest rate derivatives from AOCI to earnings as an increase to interest and debt expense. These net losses consist of $11.7 million of amortization of hedge losses on our settled forward-starting interest rate swaps, partially offset by $1.2 million of amortization of forecasted hedge gains on our forward-starting interest swaps that we expect to settle in late 2017. Additionally, $4.2 million of unrealized gains for refined petroleum products derivatives designated as cash flow hedges at June 30, 2017 is estimated to be realized and reclassified from AOCI to product sales over the next twelve months. The ineffective portion of the change in fair value of cash flow hedges was not material for the three and six months ended June 30, 2017 . |