EX-10.17



 Exhibit 10.17 

TERMS IN THIS EXHIBIT HAVE BEEN REDACTED BECAUSE CONFIDENTIAL TREATMENT FOR THOSE TERMS HAS BEEN REQUESTED. THE REDACTED MATERIAL HAS BEEN FILED SEPARATELY
WITH THE SECURITIES AND EXCHANGE COMMISSION, AND THE TERMS HAVE BEEN MARKED AT THE APPROPRIATE PLACE WITH TWO ASTERISKS (**). 
 AMENDMENT
NO. 2 
 TO 

TERMINAL AND EXPORT SERVICES AGREEMENT 

This Amendment No. 2 to Terminal and Export Services Agreement (this “Amendment”) is dated as of July 1, 2015, but is
effective for all purposes as of January 1, 2014 (the “Effective Time”), and is by and between Hess Trading Corporation, a Delaware corporation (“Customer”), and Hess North Dakota Export Logistics LLC, a
Delaware limited liability company (“Provider”). Customer and Provider are sometimes hereinafter referred to individually as a “Party” and collectively as the “Parties.” 

WHEREAS, the Parties entered into that certain Terminal and Export Services Agreement, dated effective as of the Effective Time (as such
agreement has been amended, modified or supplemented as of the date hereof, the “Agreement”), pursuant to which Provider agreed to provide to Customer certain terminalling and export services with respect to Hydrocarbons owned or
Controlled by Customer; 
 WHEREAS, the Agreement was amended by the Parties on April 2, 2015, but effective for all purposes as of the
Effective Time, pursuant to that certain Amendment No. 1 to Terminal and Export Services Agreement by and between Customer and Provider; 

WHEREAS, the Parties desire to further amend the Agreement to reflect certain agreements of the Parties; and 

WHEREAS, Section 19.7 of the Agreement provides that the Agreement may not be amended, modified, varied or supplemented except by an
instrument in writing signed by both Parties. 
 NOW, THEREFORE, for and in consideration of the mutual covenants and agreements herein
contained, the Parties agree as follows. 
 AGREEMENT 

Article 1: Defined Terms. Capitalized terms used in this Amendment and not otherwise defined herein will have the same meanings
given such terms in the Agreement. 
 Article 2: Amendments to Section 2.2 of the Agreement. Section 2.2 of the
Agreement is hereby amended to add the following sentences at the end of such Section: 
 “Should Provider elect to renew this Agreement
for the Secondary Term pursuant to this Section 2.2, then, upon the beginning of the Secondary Term (and thereafter during the Term of this Agreement), the provisions of Section 7.1(n) and Exhibit G-3 shall be
applicable hereunder. For the avoidance of doubt, during the Initial Term the provisions of Section 7.1(n) and Exhibit G-3 shall not be applicable hereunder.” 

  
 1 








 TERMS IN THIS EXHIBIT HAVE BEEN REDACTED BECAUSE CONFIDENTIAL TREATMENT FOR THOSE TERMS HAS BEEN REQUESTED. THE
REDACTED MATERIAL HAS BEEN FILED SEPARATELY WITH THE SECURITIES AND EXCHANGE COMMISSION, AND THE TERMS HAVE BEEN MARKED AT THE APPROPRIATE PLACE WITH TWO ASTERISKS (**). 

Article 3: Amendments to Section 5.3(a) of the Agreement. Section 5.3(a) of the Agreement is hereby amended by adding
the following after the end of the first sentence thereof: 
 “Notwithstanding anything herein to the contrary, in no event shall
Provider be required to agree to any Updated Development Plan and corresponding updated Terminals System Plan that contains a Committed Build-Out that (i) has a corresponding Target Completion Date that occurs after the end of the Initial Term,
and (ii) Provider, in its sole discretion, does not wish to approve.” 
 Article 4: Amendments to Section 5.3(e) of
the Agreement. Section 5.3(e) of the Agreement is hereby amended by adding the following sentence at the end of such Section: 

“Notwithstanding anything in this Agreement to the contrary, in no event shall Provider be required to agree to any Updated Development
Plan and corresponding updated Terminals System Plan that contains a Committed Build-Out that (x) has a corresponding Target Completion Date that occurs after the end of the Initial Term, and (y) Provider, in its sole discretion, does not
wish to approve, whether pursuant to an Executive Election and the related provisions of this Section 5.3(e) or otherwise.” 

Article 5: Amendments to Section 7.1(i) of the Agreement. Section 7.1(i) of the Agreement is hereby amended and
restated in its entirety as follows: 
 “(i) If any Updated Development Plan contains, for any Year, a Dedicated Crude Oil Estimate
that is at least 15% greater than the Dedicated Crude Oil Estimate for such Year contained in the most recent previously agreed-upon Development Plan, then the then-current Return on Capital shall be permanently increased by two percent
(2%) for each 15% increase represented by such Dedicated Crude Oil Estimate.” 
 Article 6: New Section 7.1(m) of
the Agreement. A new Section 7.1(m) is hereby added to the Agreement as follows: 
 “(m) Following any (i) Recalculation
Election made pursuant to Section 7.1(j), (ii) the determination of any new Tank Car Fee pursuant to Section 7.1(k), (iii) determination of any Fee pursuant to Section 7.1(n) (once such Section of this
Agreement becomes applicable hereunder), or (iv) other agreement by the Parties upon any changes to any Fee hereunder, whether such changes are agreed pursuant to an agreed Updated Development Plan and related updated Terminals System Plan or
otherwise, in each case, the Parties shall update Exhibit G-1 to reflect such updated Fee amount(s).” 
 Article 7:
New Section 7.1(n) of the Agreement. A new Section 7.1(n) is hereby added to the Agreement as follows: 
 “(n)
Notwithstanding anything in this Agreement to the contrary, effective as of the first Year of the Secondary Term: 
 (i) each
Fee hereunder shall be recalculated for each Calendar Year, effective as of January 1 of each Calendar Year, in accordance with the provisions of Exhibit G-3 attached hereto; 

  
 2 








 TERMS IN THIS EXHIBIT HAVE BEEN REDACTED BECAUSE CONFIDENTIAL TREATMENT FOR THOSE TERMS HAS BEEN REQUESTED. THE
REDACTED MATERIAL HAS BEEN FILED SEPARATELY WITH THE SECURITIES AND EXCHANGE COMMISSION, AND THE TERMS HAVE BEEN MARKED AT THE APPROPRIATE PLACE WITH TWO ASTERISKS (**). 

(ii) the provisions of Section 5.2(b)(v), Section 7.1(i) and Section 7.1(j) shall no
longer be applicable hereunder and such Sections shall be disregarded for all purposes of this Agreement; and 
 (iii) the
provisions of Section 7.1(l), to the extent and only to the extent of the references to a Recalculation Election and/or Section 7.1(j) in such Section, shall no longer be applicable hereunder and such Sections shall be
disregarded for all purposes of this Agreement.” 
 Article 8: Amendments to Section 10.1(a)(ii) of the Agreement.
Section 10.1(a)(ii) of the Agreement is hereby amended and restated in its entirety as follows: 
 “(ii) by one
Party upon written Notice to the other Party, if such second Party fails to perform or comply with any material warranty, covenant or obligation contained in this Agreement (other than (A) as provided above in Section 10.1(a)(i),
(B) for reasons of Force Majeure in accordance with Article 14, or (C) with respect to any material warranty, covenant or obligation contained in this Agreement for which this Agreement expressly sets forth a specific remedy or
consequence (other than termination) as a result of any breach of, or failure to comply with, such material warranty, covenant or obligation), and such failure has not been remedied within 60 Days after receipt of written Notice from the
non-defaulting Party of such failure;” 
 Article 9: Amendments to Appendix II to the Agreement. The definition of
“Historical Capital Expenditures” contained in Appendix II to the Agreement is hereby amended and restated in its entirety as follows: 

““Historical Capital Expenditures” means **.” 

Article 10: New Exhibit G-3 to the Agreement. A new Exhibit G-3 is hereby added to the Agreement in the form attached hereto as
Annex A. 
 Article 11: Ratification. Except as specifically provided in this Amendment, all terms and provisions of
the Agreement shall remain unchanged and in full force and effect, and the Agreement, as modified by this Amendment, is hereby ratified, acknowledged and reaffirmed by the Parties. Each reference in the Agreement to “this Agreement,”
“hereunder,” “hereof,” “herein” or any other word or words of similar import shall mean and be a reference to the Agreement as amended hereby. 

Article 12: Application of Certain Provisions. The provisions of Sections 19.1, 19.2, 19.3, 19.4, 19.6, 19.7, 19.8, 19.9, 19.10,
19.11 and 19.13 of the Agreement shall apply mutatis mutandis to this Amendment. 
 [Signature page follows.] 

  
 3 








 TERMS IN THIS EXHIBIT HAVE BEEN REDACTED BECAUSE CONFIDENTIAL TREATMENT FOR THOSE TERMS HAS BEEN REQUESTED. THE
REDACTED MATERIAL HAS BEEN FILED SEPARATELY WITH THE SECURITIES AND EXCHANGE COMMISSION, AND THE TERMS HAVE BEEN MARKED AT THE APPROPRIATE PLACE WITH TWO ASTERISKS (**). 

IN WITNESS WHEREOF, the Parties have executed this Amendment as of the day and year first above written, but effective for all purposes as of
the Effective Time. 
  

			
	PROVIDER:
	
	HESS NORTH DAKOTA EXPORT LOGISTICS LLC
		
	By:	 	 /s/ Jonathan Stein

	Name:	 	 Jonathan Stein

	Title:	 	 Vice President

	
	CUSTOMER:
	
	HESS TRADING CORPORATION
		
	By:	 	 /s/ Steven A. Villas

	Name:	 	 Steven A. Villas

	Title:	 	 President



 Signature Page to Amendment No. 2 to Terminal and Export Services Agreement 







 TERMS IN THIS EXHIBIT HAVE BEEN REDACTED BECAUSE CONFIDENTIAL TREATMENT FOR THOSE TERMS HAS BEEN REQUESTED. THE
REDACTED MATERIAL HAS BEEN FILED SEPARATELY WITH THE SECURITIES AND EXCHANGE COMMISSION, AND THE TERMS HAVE BEEN MARKED AT THE APPROPRIATE PLACE WITH TWO ASTERISKS (**). 

ANNEX A 

NEW EXHIBIT G-3 
 Effective as of
the first Year of the Secondary Term, each Fee hereunder shall be calculated in the following manner: 
 1. For the first Year of the Secondary Term, each
Fee shall be an amount equal to the simple average of: (a) an amount equal to (i) the amount of such Fee for the eighth Year of the Initial Term, increased by (ii) the percentage change in the CPI from the eighth Year of the
Initial Term to the first Year of the Secondary Term, (b) an amount equal to (i) the amount of such Fee for the ninth Year of the Initial Term, increased by (ii) the percentage change in the CPI from the ninth Year of the
Initial Term to the first Year of the Secondary Term, and (c) an amount equal to (i) the amount of such Fee for the tenth Year of the Initial Term, increased by (ii) the percentage change in the CPI from the tenth Year of the
Initial Term to the first Year of the Secondary Term. 
 2. For each Year during the Term following the first Year of the Secondary Term, each Fee shall be
an amount equal to: (a) the amount of such Fee for the immediately preceding Year (as calculated pursuant to Section 7.1(n)), increased by (b) the percentage change in the CPI from the then-immediately preceding Year to
such current Year. 
 3. For purposes of determining any Fee pursuant to this Exhibit G-3 during the Secondary Term and thereafter (a) no
increase to any Fee resulting from any application of the CPI adjustment described above in subpart (2)(b) shall exceed 3.0% for any given Year, and (b) no Fee shall ever be decreased as a result of any application of the CPI adjustment
described above in subpart (2)(b) to an amount less than the amount of such Fee as calculated pursuant to Section 7.1(n) for the prior Year. 

4. Notwithstanding the foregoing, from and after the Initial Term, the Tank Car Fee will still be eligible to be adjusted pursuant to
Section 7.1(k) in the event that the requirements of such Section are met. 
 Annex A