Document:

Amendment Number Eight to the Master Repurchase Agreement

 Exhibit 10.7 
  
 AMENDMENT NUMBER EIGHT 
 to the 
 Master Repurchase Agreement 
 dated as of May 30, 2002 
 by and between 
 NEW CENTURY FUNDING SB-1, a Delaware statutory trust 
 and 
 CITIGROUP GLOBAL MARKETS REALTY CORP. 
 (as
successor to SALOMON BROTHERS REALTY CORP.) 
  
 This AMENDMENT
NUMBER EIGHT (this “Amendment Number Eight”) is made this 29th day of December, 2004, by and among NEW
CENTURY FUNDING SB-1, a Delaware statutory trust, having an address at c/o Christiana Bank & Trust Company, 1314 King Street, Wilmington, Delaware, 19801 (“NC SB-1”) and CITIGROUP GLOBAL MARKETS REALTY CORP. (as successor to Salomon
Brothers Realty Corp.), having an address at 390 Greenwich Street, New York, New York 10013 (the “Buyer”) to the Master Repurchase Agreement, dated as of May 30, 2002, between NC SB-1 and the Buyer, as amended (the “Agreement”).

  
 RECITALS 
  
 WHEREAS, Buyer and NC SB-1 have agreed to amend the Agreement to extend the
termination date thereof; and 
  
 WHEREAS, as of the date of this
Amendment Number Eight, NC SB-1 represents to the Buyer that it is in compliance with all of the representations and warranties and all of the affirmative and negative covenants set forth in the Agreement and not in default under the Agreement.

  
 NOW THEREFORE, for good and valuable consideration, the
receipt and sufficiency of which are hereby acknowledged, and of the mutual covenants herein contained, the parties hereto hereby agree as follows: 
  
 SECTION 1. Effective as of December 31, 2004, Section 27 of the Agreement shall be amended by substituting “March 31, 2005” for “December
31, 2004” in clause (i) thereof. 
  
 SECTION 2.
Representations. In order to induce the Buyer to execute and deliver this Amendment Number Eight, the Seller hereby represents to the Buyer that as of the date hereof, after giving effect to this Amendment Number Eight, the Seller is in full
compliance with all of the terms and conditions of the Agreement and the Letter Agreement and no Default, Event of Default or Material Adverse Change has occurred under the Agreement. 
  
 SECTION 3. Commitment Fee. As a condition to Buyer executing this Amendment Number Eight, and Amendment Number Three
to the Amended and Restated Letter Agreement among New Century Credit Corporation, New Century 

 Capital Corporation, New Century Mortgage Corporation and Buyer dated as of the date hereof, Seller agrees to pay to
Buyer, a commitment fee in the amount of $250,000, such payment to be made in United States dollars, in immediately available funds, without deduction, set-off or counterclaim in satisfaction of Section 1(d) of the Amended and Restated Letter
Agreement among New Century Credit Corporation, New Century Capital Corporation, New Century Mortgage Corporation and Buyer. 
  
 SECTION 4. Fees and Expenses. In addition to the commitment fee set forth in Section 3 above, Seller agrees to pay to Buyer all fees and out of
pocket expenses incurred by Buyer in connection with this Amendment Number Eight and all other related documentation (including all reasonable fees and out of pocket costs and expenses of Buyer’s legal counsel incurred in connection with the
foregoing documents), in accordance with Section 22 of the Agreement. 
  
 SECTION 5. Defined Terms. Any terms capitalized but not otherwise defined herein shall have the respective meanings set forth in the Master Repurchase Agreement. 
  
 SECTION 6. Limited Effect. This Amendment Number Eight shall become effective upon the execution hereof by the
parties hereto. Except as expressly amended and modified by this Amendment Number Eight, the Master Repurchase Agreement shall continue in full force and effect in accordance with its terms. Reference to this Amendment Number Eight need not be made
in the Master Repurchase Agreement or any other instrument or document executed in connection therewith, or in any certificate, letter or communication issued or made pursuant to, or with respect to, the Master Repurchase Agreement, any reference in
any of such items to the Master Repurchase Agreement being sufficient to refer to the Master Repurchase Agreement as amended hereby. 
  
 SECTION 7. GOVERNING LAW. THIS AMENDMENT NUMBER EIGHT SHALL BE CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE STATE OF NEW YORK AND THE OBLIGATIONS,
RIGHTS, AND REMEDIES OF THE PARTIES HEREUNDER SHALL BE DETERMINED IN ACCORDANCE WITH SUCH LAWS WITHOUT REGARD TO CONFLICT OF LAWS DOCTRINE APPLIED IN SUCH STATE (OTHER THAN SECTIONS 5-1401 and 5-1402 OF THE NEW YORK GENERAL OBLIGATIONS LAW).

  
 SECTION 8. Counterparts. This Amendment Number Eight
may be executed by each of the parties hereto on any number of separate counterparts, each of which shall be an original and all of which taken together shall constitute one and the same instrument. 
  
 [Signature Page Follows] 

 IN WITNESS WHEREOF, the Buyer and the Seller have caused this Amendment Number Eight to be executed and
delivered by their duly authorized officers as of the day and year first above written. 
  

			
	NEW CENTURY FUNDING SB-1
		
	By:	 	Christiana Bank & Trust Company, not in
	its individual capacity but solely as owner trustee
		
	By:	 	 /s/ James M. Young

	Name:	 	James M. Young
	Title:	 	Assistant Vice President
	
	CITIGROUP GLOBAL MARKETS REALTY CORP.
		
	By:	 	 /s/ James Xanthos

	Name:	 	James Xanthos
	Title:	 	Authorized Signer

  
 Each of the
undersigned Guarantors under the Guaranty and Pledge Agreement dated as of May 30, 2002, as amended, hereby acknowledges and agrees to the amendments and modifications to the Master Repurchase Agreement made pursuant to this Amendment Number Eight.

  

			
	NEW CENTURY MORTGAGE CORPORATION
		
	By:	 	 /s/ Patrick Flanagan

	Name:	 	Patrick Flanagan
	Title:	 	President
	
	NEW CENTURY FINANCIAL CORPORATION
	(f/k/a New Century REIT, Inc.)
		
	By:	 	 /s/ Patrick Flanagan

	Name:	 	Patrick Flanagan
	Title:	 	Executive Vice President
		
	By:	 	 /s/ Kevin Cloyd

	Name:	 	Kevin Cloyd
	Title:	 	Executive Vice PresidentNonqualified Incentive Stock Option Agreement

 Exhibit 10.1 
  
 ALLSCRIPTS HEALTHCARE SOLUTIONS, INC. 
  
 Nonqualified Incentive Stock Option Agreement 
  
 THIS AGREEMENT is made as of
                        , 200   (the “Grant Date”), by and between Allscripts Healthcare
Solutions, Inc., a Delaware corporation (“Corporation”), and «First_Name» «Last_Name» («Last_Name») 
  
 WHEREAS, «Last_Name» has, and is expected to continue to, perform valuable services for the Corporation, and the Corporation considers
it desirable and in its best interests that «Last_Name» be given an inducement to acquire a further proprietary interest in the Corporation, and an added incentive to advance the interests of the Corporation by possessing an option to
purchase shares of the Corporation’s Common Stock, $.01 par value per share (the “Common Stock”), in accordance with the Corporation’s Amended and Restated 1993 Stock Incentive Plan adopted by the Board of Directors of the
Corporation on April 23, 2004 (the “Plan”). 
  
 NOW
THEREFORE, in consideration of the foregoing premises, it is agreed by and between the parties as follows: 
  
 Grant of Option. The Corporation hereby grants to «Last_Name» an option to purchase «Amount» of the Corporation’s
Common Stock (the “Option”) at the purchase price of $             per share (the “Purchase Price”), in the manner and subject to the conditions hereinafter
provided. 

	

	1.	Time of Exercise of Option.  

  

	 	(a)	Time Vesting. Subject to paragraph (b) of this Section 1, the Option shall vest 25% immediately and then at a rate of 25% on each anniversary of the Grant Date, with 100% of the
Option being vested on the third anniversary of the Grant Date. Employee may exercise any vested portion at any time prior to the Termination Date (as hereinafter defined). 

  

	 	(b)	Accelerated Vesting. If «Last_Name» continues to perform valuable services for the Corporation from the date of this Agreement until the occurrence of a Change of
Control (as hereinafter defined), the portion of the outstanding Option which has not become vested under Section 2(a) at the date of such event shall immediately vest and become exercisable with respect to 100% of the Common Stock subject to this
Option simultaneously with the consummation of the Change of Control. A “Change of Control” shall mean and be determined to have occurred upon any one of the following events: (i) any person or entity becoming the owner, directly or
indirectly, of securities representing 35% or more of the combined voting power of the then 

 
outstanding voting securities of the Corporation entitled to vote generally in the election of directors other than a person or entity which as of the date
hereof owned, directly or indirectly, such amount or more; provided, however, that no Change of Control shall be deemed to have occurred if immediately subsequent to an acquisition of securities, at least a majority of the combined voting power of
the then outstanding voting securities of the Corporation entitled to vote generally in the election of the directors are owned, directly or indirectly, by the persons who, immediately prior to such acquisition, were the owners, directly or
indirectly, or at least a majority of the combined voting power of the then outstanding voting securities of the Corporation entitled to vote generally in the election of directors, in substantially the same proportion; or (ii)(A) the Corporation
shall be a party to a merger or consolidation in which persons who were the owners, directly or indirectly, or at least a majority of the combined voting power of the outstanding voting securities of the Corporation entitled to vote generally in the
election of the directors immediately prior thereto do not own, directly or indirectly, at least a majority of the combined voting power of the outstanding voting securities of the Corporation entitled to vote generally in the election of directors
immediately subsequent thereto or (B) the Corporation shall sell all or substantially all of its assets (each event in clauses (i) and (ii) shall be referred to herein as a “Change of Control”). 
  

	2.	The Option may be exercised with respect to the vested portion as provided in Section 1 hereof by written notice received on or before the Termination Date (as hereinafter defined),
which notice shall: 

  

	 	a)	State the election to exercise the Option and the number of shares in respect of which it is being exercised; 

	

	 	b)	Be signed by the person or persons entitled to exercise the Option; 

	

	 	c)	Be in writing and delivered to the Compensation Committee of the Corporation’s Board of Directors at the Corporation’s principal place of business;

	

	 	d)	In the event a registration statement under the Securities Act of 1933 is not in effect with respect to the shares to be issued upon exercise of this Option, contain a
representation of «Last_Name» that the shares are being acquired by him for investment and with no present intention of selling or transferring them, and that he will not sell or otherwise transfer the shares except in compliance with
all applicable securities laws; and 

	

	 	e)	Be accompanied by payment in full of the Purchase Price for the shares to be purchased and the Director’s copy of this Agreement. Payment may be made by check, bank draft,
money order or other cash payment. 

  

	3.	Termination of Option. Subject to Section 5 hereof, the Option, to the extent not heretofore exercised, shall terminate upon the first to occur of the following dates
(the “Termination Date”): 

	 	(a)	The expiration of thirty (30) days after the date on which employment is terminated for any reason; or 

  

	 	(b)	The tenth anniversary of the Grant Date. 

  

	4.	Un-Vested Options. All options to the extent un-vested on the date of termination of «Last_Name»‘s employment with the Corporation for any reason
shall terminate immediately upon such termination of «Last_Name»‘s employment. 

  

	5.	Rights Prior to Exercise of Option. The Option is non-transferable by «Last_Name», and except in the event of his death, in which case
«Last_Name»‘s executors or administrators may exercise the vested portion of the Option within thirty (30) days following the date of «Last_Name»‘s death, is exercisable only by «Last_Name».
«Last_Name» shall have no rights as a stockholder with respect to the shares of Common Stock until exercise of the Option and delivery to him of such shares as herein provided. 

  

	6.	Adjustment in Event of Happening of Condition. In the event that there is any change in the number of issued shares of Common Stock of the Corporation without new
consideration to the Corporation (such as by stock dividends or stock split-ups), then (i) the number of shares at the time unexercised under this Option shall be adjusted in proportion to such change in issued shares, and (ii) the Option for the
unexercised portion of the Option shall be adjusted so that the aggregate consideration payable to the Corporation upon the purchase of all shares not theretofore purchased shall not be changed. 

  
 If the outstanding shares of Common Stock of the Corporation shall be
combined, or be changed into another kind of stock of the Corporation or into equity securities of another corporation, whether through recapitalization, reorganization, sale, merger, consolidation, etc. the Corporation shall cause adequate
provision to be made whereby the person or persons entitled to exercise the Option shall thereafter be entitled to receive upon due exercise of any portion of the Option, the equitable securities which that person would have been entitled to receive
for shares of Common Stock acquired upon the exercise of the same portion of such Option if such Option had been exercised immediately prior to such recapitalization, reorganization, sale, merger, consolidation, etc. 
  
 If appropriate, due adjustment shall be made in the per share or per unit
price of the securities purchased on exercise of the Option following said recapitalization, sale, merger, consolidation, etc. 
  
 Notwithstanding the foregoing, in the event of a sale of the Company through a merger, consolidation or sale of all or substantially all of its assets
where all or part of the consideration is cash or property (other than equity securities of another corporation) this option shall terminate upon consummation of such merger, consolidation or sale unless otherwise determined by the Board of
Directors of the Company. 

	7.	Provisions of Plan. This Option is granted pursuant to, and subject to the terms and conditions of, the Plan (which is incorporated herein by reference). In the event
a provision of this Option conflicts with the Plan, the terms of the Plan will prevail. «Last_Name» acknowledges receiving a copy of the Plan and this Agreement. 

  

	8.	Withholding of Taxes. The Corporation shall be entitled, if necessary or desirable, to withhold from any amounts due and payable by the Corporation to
«Last_Name» (or to secure payment from «Last_Name» in lieu of withholding) the amount of any withholding or other tax due from the Corporation with respect to any Common Stock issuable under this Option, and the Corporation
may defer such issuance until such amounts are paid or withheld. 

  

	9.	Binding Effect. This Agreement shall inure to the benefit of and be binding upon the parties hereto and their respective heirs, executors, administrator, successors
and assigns. 

  
 IN WITNESS WHEREOF, the parties hereto have caused
this Agreement to be executed on the day and year first above written. 
  

			
	ALLSCRIPTS HEALTHCARE SOLUTIONS, INC.
		
	By:	 	 

  

			
	Name:	 	 Glen E. Tullman 

	«First_Name»«Last_Name»

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