Document:

First Amendment to the Stock Purchase Agreement

 Exhibit 10.7 
  
 AMENDMENT NO. 1 TO 
 STOCK PURCHASE AGREEMENT 
 by and between 
 ONEOK, INC. 
 and 
 TXOK ACQUISITION, INC. 
  
 This Amendment No. 1 to Stock Purchase Agreement (the “Amendment”) is entered into as of September 27, 2005, between TXOK Acquisition, Inc., a Delaware corporation (the
“Purchaser”), and ONEOK, Inc., an Oklahoma corporation (the “Seller”). Capitalized terms used herein but not defined shall have the meaning set forth in the Stock Purchase Agreement (as defined below).

  
 RECITALS 
  
 WHEREAS, Seller and Purchaser entered into that certain Stock Purchase
Agreement, dated as of September 19, 2005 (the “Stock Purchase Agreement” and, as amended by this Amendment, the “Agreement”), relating to the sale of all of the outstanding shares of capital
stock (the “Shares”) of ONEOK Energy Resources Company, a Delaware corporation; and 
  
 WHEREAS, the parties desire to amend the Stock Purchase Agreement on the terms and conditions set forth herein; 
  
 NOW, THEREFORE, in consideration of the premises and mutual covenants
contained herein and other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the Parties agree as follows: 
  
 1. Definitions. The definition of “Estimated Purchase Price” in Section 1.1 of the Stock Purchase Agreement shall be deleted
in its entirety and replaced with the following: 
  
 ““Estimated Purchase Price” means Seller’s good faith estimate of the Purchase Price as set forth in a statement delivered by Seller to Purchaser at least one Business Day before the Closing.”

  
 2. Purchase Price and Adjustments.
Section 2.2(a) of the Stock Purchase Agreement shall be deleted in its entirety and replaced with the following: 
  
 “(a) The aggregate consideration payable by Purchaser to Seller for the Shares (the “Purchase Price”) shall consist of
$257,269,130.00 (the “Base Purchase Price”) plus or minus, as the case may be, the difference between the Net Working Capital as of the Effective Date and the Net Working Capital as of the Balance Sheet Date. For the
avoidance of doubt, if Net Working Capital as of the Effective Date is greater than the Net Working Capital as of the Balance Sheet Date, then the difference shall be added to the Base Purchase Price. If Net Working Capital as of the Balance Sheet
Date is greater than the Net Working Capital as of the Effective Date, then the difference shall be subtracted from the Base Purchase Price. In addition, the Base Purchase Price shall be subject to adjustment as provided in Sections 2.2(b), 2.2(c),
2.2(d), 2.2(e), 3.4, 6.15 and 9.2.” 

 3. Closing. Section 2.3 of the Stock Purchase Agreement shall be deleted in its
entirety and replaced with the following: 
  
 “Section
2.3 Closing. The closing of the transactions contemplated by this Agreement (the “Closing”) will take place at 10:00 a.m., at the offices of Gable & Gotwals, 100 West 5th Street, Tulsa, Oklahoma on September 27, 2005, subject to the satisfaction or waiver of each condition set forth in Section 7.1 or
Section 7.2, or such other date as Purchaser and Seller may mutually determine. The date on which the Closing occurs is hereinafter referred to as the “Closing Date”.” 
  
 4. Notice of Title Defects. Section 3.4(a) of the Stock
Purchase Agreement shall be deleted in its entirety and replaced with the following: 
  
 “(a) To assert a claim arising out of a breach of Section 3.1, Purchaser must deliver a written claim notice to Seller promptly after becoming aware of a Title Defect but in any event on or before 2:00 p.m.
central time on September 26, 2005 (the “Title Claim Date”), except as otherwise provided under Section 3.5. Such notice shall be in writing and shall include (i) a specific description of the alleged Title Defects,
(ii) the Wells or Units affected, (iii) the Allocated Values (as described below) of the Wells or Units subject to the alleged Title Defects, (iv) supporting documents reasonably necessary for Seller (as well as any title attorney or
examiner hired by Seller) to verify the existence of the alleged Title Defects and (v) the amount by which Purchaser reasonably believes the Allocated Values of those Wells or Units are reduced by the alleged Title Defects and the computations
and information upon which Purchaser’s belief is based. The alleged Title Defects delivered to Seller on or before the Title Claim Date are attached hereto as Schedule 3.4. Purchaser shall be deemed to have waived all breaches of
Section 3.1 for which Seller has not been given proper written notice as described above on or before the Title Claim Date. The term “Allocated Value“ for any Company asset equals the portion of the Purchase Price allocated to such
asset as described on Exhibit B. Seller, to the extent it desires to assert a Title Benefit, must deliver to Purchaser, on or before the Title Claim Date, a similar written notice as to each Title Benefit asserted.” 
  
 5. Representations and Warranties of Seller. The following
Section 5.7 is added to the Stock Purchase Agreement: 
  
 “Section 5.7 Allocation. Purchaser allocated the values in this transaction (in the aggregate for the transactions described in this Agreement and in the Limited Liability Company Membership Interest Purchase Agreement
between ONEOK Energy Resources Company and Purchaser dated of even date herewith) as follows: 
  

					
	 Exploration and Production Assets:
	  	$	498,626,955.08	 
	 Unproductive Real Property:
	  	$	150,412,423.86	 
	 Gathering System:
	  	$	18,841,499.00	”

  

 2 

 6. Employment Offers. Section 6.9(c) of the Stock Purchase Agreement shall be deleted
in its entirety and replaced with the following: 
  
 “(c)
Each offer of employment by Purchaser or its Affiliates to a Company Employee or to an Additional Available Employee shall be made in writing on or before October 7, 2005 and shall be consistent with the provisions of this Section 6.9 and
shall remain open until October 14, 2005. As soon as practicable after Closing, but no later than October 14, 2005, Purchaser shall notify Seller as to each Company Employee and each Additional Available Employee who has accepted
employment with the Purchaser or its Affiliates, and each Company Employee and each Additional Available Employee who has rejected or not responded to an offer of such employment. Purchaser shall indemnify and hold harmless Seller and its Affiliates
with respect to all Losses relating to or arising out of the employee selection and employment offer process described in the preceding provisions of this Section 6.9 (including any claim of discrimination or other illegality in such selection
and offer process). The transfer of employment of each Transferred Employee shall be effective, in each case, as of October 15, 2005, except that if a Transferred Employee accepts employment after such date, then the transfer of employment
shall be effective as of the day after the date the first payroll payment is due from Purchaser to such employee; provided, however, that in all cases all direct or indirect costs and expenses for compensation, benefits, taxes and all Losses
(including any Losses associated with any health or welfare plan benefits) and all other direct or indirect costs relating to or arising out of the employment of each such Transferred Employee shall be allocated as of the Effective Date. For the
avoidance of doubt, the agreement and intention of the parties is that Seller and its Affiliates shall pay (or reimburse Purchaser and its Affiliates for) all direct and indirect costs, expenses, taxes and Losses relating to or arising out of the
employment of each Transferred Employee prior to the Effective Date, and Purchaser and its Affiliates shall pay (or reimburse Seller and its Affiliates for) all direct and indirect costs, expenses, taxes and Losses relating to or arising out of the
employment of each Transferred Employee from and after the Effective Date.” 
  
 7. Terms of Employment. Section 6.9(d) of the Stock Purchase Agreement shall be deleted in its entirety and replaced with the following: 
  
 “(d) The terms of employment (including all benefits) of the
Transferred Employees by the Purchaser or its Affiliates shall be substantially similar or superior to those terms of employment and benefits provided by Purchaser and its Affiliates to their employees in similar positions and with similar
responsibilities as of the Closing Date. For a period of not less than one (1) year following the Effective Date, Purchaser or its Affiliates shall pay each Transferred Employee a base salary or wage not less than that paid by Seller or its
Affiliates immediately prior to the Closing Date, and Purchaser or its Affiliates shall provide to each Transferred Employee an opportunity to earn bonuses on the same basis as similarly situated employees of Purchaser and its Affiliates.”

  

 3 

 8. Severance. The following Section 6.9(m) is added to the Stock Purchase Agreement:

  
 “(m) If, within one (1) year after the Effective
Date, Purchaser employs any Company Employee or any Additional Available Employee to whom Seller or its Affiliates made any severance payments, then Purchaser shall reimburse Seller or its Affiliates for the full amount of such severance
payments.” 
  
 9. Transition Services.
Section 6.16 of the Stock Purchase Agreement shall be deleted in its entirety and replaced with the following: 
  
 “Section 6.16 Transition Services. Seller and Purchaser hereby agree to negotiate in good faith to enter into a transition services
agreement as mutually agreed upon by the parties hereto before the Closing, provided however, that nothing in this Section 6.16 shall create a condition to Closing, and the failure of Seller and Purchaser to mutually agree upon a transition
services agreement shall not affect the parties obligations to close the transaction contemplated by this Agreement. Purchaser understands and agrees that Seller’s obligation to provide transition services under the transition services
agreement shall be limited to the provision of: (i) reasonable office space, (ii) reasonably necessary IT services, and (iii) to the extent permitted by any third party licensor of Seller, access to Seller’s accounting, land,
production reporting and measurement systems. Seller shall charge Purchaser for such transition services at Seller’s cost, and Purchaser shall pay Seller for all such charges. Purchaser and/or Company, as applicable, each agree to provide to
Seller transition services and access to Company records as is reasonably necessary to allow Seller to perform all customary accounting and financial reporting activities related to Seller’s ownership, control and/or operation of the Company,
including monthly, quarterly and year-end financial and tax reporting. Purchaser shall charge Seller for such transition services at Purchaser’s cost, and Seller shall pay Purchaser for all such charges. Neither Party shall be obligated to
acquire new, additional or different personnel, equipment or resources, or to acquire or establish any separate hardware or software platforms to perform such transition services. The Parties may use Affiliates, contractors, subcontractors, vendors
or other third parties to provide some or all of the transition services. Unless otherwise specifically provided in a mutually agreed upon transition services agreement, the transition services will be available only for a period of 180 days after
the Effective Date. Purchaser understands and agrees that Seller shall have no obligation to provide transition services to Purchaser to the extent the Company Employees or the Additional Available Employees that typically provide such services are
no longer available to Seller.” 
  
 10.
Distribution. The following Section 9.7 is added to the Stock Purchase Agreement: 
  
 “Section 9.7 Distribution. Immediately prior to the Closing, the Company shall transfer the assets described on Exhibit
“D” to Seller (the “Distribution”). The Distribution is considered an integral part of this Agreement pursuant to which, among other things, the Seller will transfer the Shares to the Purchaser for the 

  

 4 

 
Purchase Price and elect to treat such transfer as a sale of assets by the Company under Section 338(h)(10) of the Code. The Company does not intend to
make the Distribution without the transfer of the Shares by the Seller to Purchaser. Accordingly, it is intended that the Distribution be considered a distribution pursuant to a plan of complete liquidation of the Company qualifying for treatment
under Section 332 of the Code as contemplated in Treas. Reg. sections 1.338(h)(10)-1(d)(4)(i) and 1.338(h)(10)-1(e).” 
  
 11. Indemnification by Seller. The following Section 10.2(d) is added to the Stock Purchase Agreement: 
  
 “(d) To the extent that (i) Seller has the right to seek
indemnification from Wagner & Brown, Ltd., a Texas limited partnership (“Wagner & Brown”) or any of its Affiliates with respect to the following litigation matters: (i) White Oak Independent
School District, Plaintiff v. ONEOK Texas Energy Resources, L.P., Defendant, filed in the United States District Court for the Eastern District of Texas, Case No. 2-05CV-107, (ii) James Sydney Person,
Plaintiff v. ONEOK Texas Energy Resources, L.P. and Wagner & Brown L.P., Defendants, filed in the District Court of Gregg County, Texas, Case No. 2005-863-CCL2 (Companion case to White Oak above), and (ii) Seller has
the right to provide the benefits of such indemnification to Purchaser, and (iii) the Purchaser Indemnified Parties are not otherwise entitled to indemnification from Seller under this Article X, then Seller, upon Purchaser’s written
request, shall assert a claim relating to such matter against Wagner & Brown and Seller shall provide to Purchaser all benefits of such indemnification as, when and if provided by Wagner & Brown. Notwithstanding the foregoing,
Seller shall not be obligated to make any additional payments or to take any action that would cause it to incur or be subject to any additional liabilities or costs with respect to any actions taken under this Section 10.2(d). Notwithstanding
the foregoing, nothing in this Section 10.2(d) shall be construed to create any express or implied representation or warranty that Seller is entitled to any indemnification from Wagner & Brown.” 
  
 12. Ratification. Except as expressly amended herein, all terms
and provisions of the Stock Purchase Agreement shall remain in full force and effect, and are hereby ratified, approved and confirmed in every respect. 
  
 (REMAINDER OF PAGE INTENTIONALLY LEFT BLANK – 
 SIGNATURE PAGE FOLLOWS) 
  

 5 

 IN WITNESS WHEREOF, the Parties hereto have executed this Amendment as of the date first written
above. 
  

			
	ONEOK, INC.
		
	By:	 	/s/
	 Name:
	 	 
	 Title:
	 	 
	
	 “SELLER”

  

			
	TXOK ACQUISITION, INC.
		
	By:	 	/s/
	 Name:
	 	 
	 Title:
	 	 
	
	 “PURCHASER”

 Schedule 3.4 
  
 (Notice of Alleged Title Defects) 
  
 None.2005 SALES COMPENSATION PLAN

 Exhibit 10.1 
  
 Entrust 

	
	 2005 SAM MORCOS
SALES COMPENSATION PLAN OUTLINE 
 (“PLAN”)

  
 PLAN
PARTICIPANT 
  
 Sam Morcos,
Senior Vice President, Sales 
  

					
	 Territory—
	  	 	  	Latin America and Asia Pacific (excluding China, Hong Kong and Japan); United States excluding all U.S. federal government sales (in this context U.S. federal government sales will be
interpreted to include without limitation sales in which the U.S. federal government or any agency thereof or any GSA eligible entity (exclusive of State and Local Governments) is an end user of the Company’s products and/or
services.
			
	 Applicability Period
	  	 	  	July 1, 2005 to December 31, 2005.

  
  
 ADDITIONAL TERMS 
  

	 	1.	Subject to the terms of this plan, you will be entitled to the commissions described in Schedule A attached hereto. This Plan applies only to sales that close in the Applicability
Period. You are only eligible to receive the commissions and bonuses set out in this Plan for Qualified Sales if: 

  
 (a)    the revenue payable to the Company in relation to a Qualified Sale is timely collected while you are Actively Employed by
Entrust Limited (i.e., while commission payment is made on recognized revenue, commissions are not earned until payment is collected from the customer); and 
  
 (b)    you were Actively Employed by Entrust Limited at the time that the pertinent revenue was recognized by the Company

  
 For greater certainty, you are not entitled to receive any
commissions or bonuses for any revenue recognized by the Company or collected by the Company after you cease to be Actively Employed by Entrust Limited. In this context, You are “Actively Employed” if you have not given notice to Entrust
Limited of your resignation or intent to resign, and you have not received from Entrust Limited written notice of termination of your employment (regardless of the sufficiency of any such notice of termination). You cease to be Actively Employed by
Entrust Limited as of the date (i) that Entrust Limited receives notice of resignation or intent to resign, or (ii) that Entrust Limited provides written notice to You of Your termination (regardless of the sufficiency of any such Notice
of Termination). 
  

	 	2.	Commissions will normally be paid on the next scheduled pay date which falls after 45 days following the end of quarter in which the revenue was recognized.

 Entrust 

	
	 2005 SAM MORCOS
SALES COMPENSATION PLAN OUTLINE 
 (“PLAN”)

  

	 	3.	You need to report any potential error within 90 days of receipt of the relevant statement or payment, whichever is later, failing which the commissions will be deemed to be
properly paid and the Company will not be required to make any adjustment. 

  

	 	4.	In spite of paragraph 2 above, the Company may, in its sole discretion, pay commissions and bonuses in advance in expectation of collection and/or recognition, as applicable. If it
turns out that payment is not made within a timely manner by a customer, then the Company is entitled to set off such commissions and bonuses against future commissions or other payments due to you, or alternatively (at the Company’s option)
demand repayment by you. 

  

	 	5.	This plan has been approved of by the compensation committee of the Board of Directors of Entrust, Inc. The Sales Compensation Committee (SCC) is a committee of the management of
the company comprised of the CFO and the CGO. The purpose of the committee is to ensure consistent application of this Plan and resolve issues, ambiguities, address exceptional conditions that arise. The SCC or its delegate in Sales Operations shall
be responsible for the implementation and ongoing administration of this Plan. Any questions arising from the administration or interpretation of this Plan are subject to the determination of the SCC. The CFO will interpret what constitutes revenue
recognition, what constitutes standard sales practices, how a sale is attributed to any territory, and what constitutes Recognized Revenue. You expressly acknowledge that the SCC may refuse to include in commission calculations for any revenue
recognized for the sale that does not conform to the Company’s standard sales practice. For example, the SCC may not pay commissions on transactions with non-standard pricing or non-standard terms and conditions. In order to help You with
interpretation of this Plan, the SCC may from time to time issue short interpretation bulletins. 

  

	 	6.	The SCC may amend or discontinue this Plan at any time with respect to future commissions, incentives or awards with notice to You; however, any incentives or awards earned up to
the date of modification or termination will be distributed in accordance with the Plan provisions at the time they were earned. Amendment to this Plan must be in a document approved of by the SCC and signed by Entrust’s CFO, CEO, or CGO.

  

	 	7.	Nothing in the Plan shall be interpreted as giving you the right to be retained as an employee of the Company, or of limiting Entrust Limited’s rights to control or terminate
your employment at any time in the course of its business. 

  

	 	8.	The terms of this Plan will be governed by the laws of the Province of Ontario. If any provision of this Plan is held by a court of competent jurisdiction to be illegal, invalid or
unenforceable, the remaining provisions shall remain in full force and effect. 

  

	 	9.	In accepting this Plan, You agree to be bound by this Plan. You agree that sales plans are common practice in the software industry and it is common practice to modify sales plans
from time to time. Finally, you acknowledge that you have had an opportunity to review this Plan with a lawyer. 

 Entrust 

	
	 2005 SAM MORCOS
SALES COMPENSATION PLAN OUTLINE 
 (“PLAN”)

  

	 	10.	All references to currency in this Plan are in US dollars. Commission payment will be paid at a fixed conversion rate for each local payroll currency. The Company will set the
conversion rate in its sole discretion. 

  

	 	11.	To become eligible for compensation under this Plan, you must deliver your acceptance to Sales Operations in the manner directed by Sales Operations. 

  

	 	12.	For individual transactions that exceed USD $2,000,000, commission on the first $2,000,000 of revenue recognized from the transaction will be paid according to the usual SCP
provisions. Payment on transaction revenue over $2,000,000 is subject to review by the SCC and the amount and timing of the commission to be paid will be at the sole discretion of the SCC. This term is not intended as a cap on desired transaction
size or sales earnings; but rather, a safeguard to ensure that unforeseen circumstances do not negatively affect the company. 

  

	 	13.	In spite of anything to the contrary in this Plan, if at the time that you cease to be Actively Employed by Entrust Limited, commissions have been paid or prepaid to you and the
corresponding revenue has not been recognized and collected by the Company, then such commissions and/or sales bonuses shall be deemed to have been overpaid (“Commission Overpayments”). Any payments that may be due to you,
including, but not limited to, commissions, recoverable draws, salaries, bonuses, termination payments, severance payments, payments in lieu of notice, and/or expense reimbursements, may be withheld and set off against Commission Overpayments. Any
Commission Overpayments remaining after any such set offs shall be due and payable by you to the Company as of the date that you ceased to be Actively Employed by Entrust Limited. However, the Company may withhold any commissions and/or bonus that
may be due upon You ceasing to be Actively Employed by Entrust Limited for up to one hundred and twenty (120) days after such cessation date to allow the Company to make any necessary adjustments to your commissions due to changes in any
previously recognized sale or license that may occur after you ceased to be Actively Employed by Entrust Limited. The Company may further withhold commissions until you have submitted to the Company a summary of all business expenses for which you
are seeking reimbursement, and proof that all outstanding charges on any corporate credit cards have been paid. The Company may also deduct from any commissions that may be owing to you any charges for expenses that have been charged against
corporate credit cards and that have not been paid by You. 

  
  

							
	SEPTEMBER 28, 2005	 	 	 	 	 	/S/    SAM
MORCOS        
	Date	 	 	 	 	 	 Sam Morcos
 Senior Vice President, Sales

  
  
  

 3

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00092-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00092-of-00352.parquet"}]]