Document:

<PAGE>

                                                                   EXHIBIT 10.71

                THIRD AMENDMENT TO RECEIVABLES PURCHASE AGREEMENT

      THIS THIRD AMENDMENT TO RECEIVABLES PURCHASE AGREEMENT (the "Amendment"),
dated as of September 16, 2004, is made by and among P & L RECEIVABLES COMPANY,
LLC, as seller (the "Seller"), PEABODY ENERGY CORPORATION, as initial Servicer
(the "Servicer"), ARCLAR COMPANY, LLC, BLACK BEAUTY COAL COMPANY, CABALLO COAL
COMPANY, EASTERN ASSOCIATED COAL CORP., PEABODY COALSALES COMPANY, PEABODY COAL
COMPANY, PEABODY WESTERN COAL COMPANY, POWDER RIVER COAL COMPANY, PEABODY
HOLDING COMPANY, INC., PEABODY COALTRADE, INC., TWENTYMILE COAL COMPANY (each a
"Sub-Servicer" and collectively, the "Sub-Servicers"), as Sub-Servicers, MARKET
STREET FUNDING CORPORATION, as Issuer (the "Issuer"), and PNC BANK, NATIONAL
ASSOCIATION, as administrator (the "Administrator").

                                   WITNESSETH:

      WHEREAS, certain of the parties hereto are parties to that certain
Receivables Purchase Agreement dated as of February 20, 2002 by and among the
Seller, the Servicer, certain of the Sub-Servicers, the Issuer and the
Administrator, as amended by that certain First Amendment to Receivables
Purchase Agreement dated as of February 27, 2003, and the Second Amendment to
Receivables Purchase Agreement dated February 18, 2004 (the "Receivables
Purchase Agreement") and desire to amend the terms thereof as set forth herein.

      NOW, THEREFORE, the parties hereto, in consideration of their mutual
covenants and agreements hereinafter set forth and intending to be legally bound
hereby, covenant and agree as follows:

      1. Definitions. Defined terms used herein unless otherwise defined herein
shall have the meanings ascribed to them in the Receivables Purchase Agreement
as amended by this Amendment.

      2. Amendments to Receivables Purchase Agreement.

      (a) Exhibit I Definition of "Facility Termination Date". The definition of
"Facility Termination Date" set forth in Exhibit I of the Receivables Purchase
Agreement is hereby amended and restated as follows:

            "Facility Termination Date" means the earliest to occur of:

      (a) September 16, 2009 (b) the date determined pursuant to Section 2.2 of
      the Agreement, (c) the date the Purchase Limit reduces to zero pursuant to
      Section 1.1(b) of the Agreement, (d) the date that the commitments of the
      Purchasers terminate under the Liquidity Agreement, and (e) the Issuer
      shall fail to cause the amendment or modification of any Transaction
      Document or related opinion as

<PAGE>

      required by Moody's or Standard and Poor's, and such failure shall
      continue for 30 days after such amendment is initially requested."

      (b) Exhibit I. Definition of "Purchase Limit". The definition of "Purchase
Limit" set forth in Exhibit I of the Receivables Purchase Agreement is hereby
amended and restated as follows:

            "Purchase Limit" means $225,000,000, as such amount may be reduced
      pursuant to Section 1.1 (b) of the Agreement. References to the unused
      portion of the Purchase Limit shall mean, at any time, the Purchase Limit
      minus the then outstanding Capital."

      3. Representations and Warranties. Each of the Seller, the Servicer, and
the Sub-Servicers hereby represents and warrants to the Issuer and
Administrator, with respect to itself, as follows:

      (a) The representations and warranties of such Seller, Servicer, or
Sub-Servicer, as the case may be, contained in the Receivables Purchase
Agreement are true and correct on and as of the date hereof with the same force
and effect as though made by such Seller, Servicer, or Sub-Servicer on such
date, except to the extent that any such representation or warranty expressly
relates solely to a previous date; and

      (b) Each of such Seller, Servicer, or Sub-Servicer, as the case may be, is
in compliance with all terms, conditions, provisions, and covenants contained in
the Receivables Purchase Agreement and the execution, delivery, and performance
of this Amendment have been duly authorized by all necessary corporate action,
require no governmental approval, and will neither contravene, conflict with,
nor result in the breach of any law, charter, articles, or certificate of
incorporation, bylaws, or agreement governing or binding upon such Seller,
Servicer, or Sub-Servicer or any of their property; and, no Unmatured
Termination Event or Termination Event has occurred and is continuing or would
result from the making of this Amendment.

      4. Conditions of Effectiveness of this Amendment. The effectiveness of
this Amendment is expressly conditioned upon satisfaction of each of the
following conditions precedent:

      (a) Legal Details; Counterparts. All legal details and proceedings in
connection with the transactions contemplated by this Amendment shall be in form
and substance satisfactory to the Administrator, and the Administrator shall
have received from the Seller, the Issuer, the Servicer and the Sub-Servicers
all such other counterpart originals or certified or other copies of such
documents and proceedings in connection with such transactions, in form and
substance satisfactory to the Administrator.

      (b) No Default. As of the date hereof, no Unmatured Termination Event or
Termination Event has occurred and is continuing and each of the Seller, the
Servicer, and the

                                        2
<PAGE>

Sub-Servicers by executing this Amendment confirms the same and also confirms
the accuracy of the representations and warranties that it makes in Section 3
above.

      5. Amendment. The Receivables Purchase Agreement referred to herein and
certain of the exhibits and schedules thereto are hereby amended in accordance
with the terms hereof and any reference to the Receivables Purchase Agreement in
any document, instrument, or agreement shall hereafter mean and include the
Receivables Purchase Agreement, including such schedules and exhibits, as
amended hereby.

      6.Force and Effect. Each of the Seller, the Servicer, and the
Sub-Servicers reconfirms, restates, and ratifies the Receivables Purchase
Agreement, the Transaction Documents and all other documents executed in
connection therewith except to the extent any such documents are expressly
modified by this Amendment and each of the Seller, the Servicer, and the
Sub-Servicers confirms that all such documents have remained in full force and
effect since the date of their execution.

      7.No Waiver. Except as expressly provided herein, this Amendment does not
and shall not be deemed to constitute a waiver by Issuer of any Termination
Event under the Receivables Purchase Agreement, or of any event which with the
passage of time or the giving of notice or both would constitute a Termination
Event.

      8.Governing Law. This Amendment shall be deemed to be a contract under the
laws of the State of Illinois and for all purposes shall be governed by and
construed and enforced in accordance with the internal laws of the State of
Illinois without regard to its conflict of laws principles.

      9.Counterparts. This Amendment may be signed in any number of counterparts
each of which shall be deemed an original, but all of which together shall
constitute one and the same instrument.

      10. Effective Date. This Amendment shall be effective as of and shall be
dated as of the date of satisfaction of all conditions set forth in Section 4 of
this Amendment.

      11. Effective Date of Joinder. Arclar Company, LLC, Black Beauty Coal
Company and Twentymile Coal Company have joined the Sale Agreement as
Originators through that certain Joinder Agreement, dated the same date hereof
and effective immediately prior to the Effective Date of this Amendment.

      12. Effective Date of Originator Release. The Seller, the Servicer, the
Sub-Servicers, the Issuer, and the Administrator have executed that certain
Originator Release, dated the same date hereof and effective immediately
subsequent to the Joinder Agreement but immediately prior to the Effective Date
of this Amendment whereby (a) Big Sky is released as an Originator under the
Sale Agreement, (b) Big Sky is released as a Sub-Servicer under the Receivables
Purchase Agreement and (c) all liens against Big Sky pursuant to the Sale
Agreement, the Contribution Agreement and the Receivables Purchase Agreement are
terminated.

                         [SIGNATURES BEGIN ON NEXT PAGE]

                                        3
<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

      IN WITNESS WHEREOF and intending to be legally bound hereby, the parties
hereto have executed this Amendment as of the date first above written.

                                        P & L RECEIVABLES COMPANY, LLC, as
                                        Seller

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        PEABODY ENERGY CORPORATION, as
                                        initial Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        ARCLAR COMPANY, LLC, as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        BLACK BEAUTY COAL COMPANY, as
                                        Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

                                        CABALLO COAL COMPANY, as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        EASTERN ASSOCIATED COAL CORP., as
                                        Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        PEABODY COALSALES COMPANY, as
                                        Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        PEABODY COAL COMPANY, as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

                                        PEABODY WESTERN COAL COMPANY, as
                                        Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        POWDER RIVER COAL COMPANY,
                                        as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        PEABODY HOLDING COMPANY, INC., as
                                        Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        PEABODY COALTRADE, INC., as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

                                        TWENTYMILE COAL COMPANY, as Sub-Servicer

                                        By: /s/ Walter L. Hawkins, Jr.
                                            ------------------------------------
                                        Name: WALTER L. HAWKINS, JR.
                                        Title: VP & TREASURER

                                        MARKET STREET FUNDING
                                        CORPORATION, as Issuer

                                        By:_________________________________
                                        Name:_______________________________
                                        Title:______________________________

                                        PNC BANK, NATIONAL ASSOCIATION, as
                                        Administrator

                                        By:_________________________________
                                        Name:  John Smathers
                                        Title: Vice President

<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

                                       TWENTYMILE COAL COMPANY, as Sub-Servicer:

                                       By:______________________________________
                                       Name:____________________________________
                                       Title:___________________________________

                                       MARKET STREET FUNDING
                                       CORPORATION, as Issuer

                                       By: /s/ Evelyn Echevarria
                                           -------------------------------------
                                       Name:  Evelyn Echevarria
                                       Title: Vice President

                                       PNC BANK, NATIONAL ASSOCIATION, as
                                       Administrator

                                       By:______________________________________
                                       Name:  John Smathers
                                       Title: Vice President

<PAGE>

                       [SIGNATURE PAGE - THIRD AMENDMENT
                       TO RECEIVABLES PURCHASE AGREEMENT]

                                       TWENTYMILE COAL COMPANY, as Sub-Servicer

                                       By:______________________________________
                                       Name:____________________________________
                                       Title:___________________________________

                                       MARKET STREET FUNDING
                                       CORPORATION, as Issuer

                                       By:______________________________________
                                       Name:____________________________________
                                       Title:___________________________________

                                       PNC BANK, NATIONAL ASSOCIATION, as
                                       Administrator

                                       By: /s/ John Smathers
                                           -------------------------------------
                                       Name:  John Smathers
                                       Title: Vice President<PAGE>

                                                                  EXHIBIT 4.5(c)

                     FIRST AMENDMENT TO THE CREDIT AGREEMENT

                  FIRST AMENDMENT, dated as of April 30, 2004 (this "First
Amendment"), to the Amended and Restated Credit Agreement, dated as of December
12, 2003 (amending and restating the Credit Agreement dated as of September 30,
1999) (as amended, supplemented, or otherwise modified from time to time, the
"Credit Agreement"), among TENNECO AUTOMOTIVE INC., a Delaware corporation (the
"Borrower"), the several lenders from time to time parties thereto (the
"Lenders"), JPMORGAN CHASE BANK, a New York banking corporation, as
administrative agent for the Lenders (in such capacity, the "Administrative
Agent"), and the other financial institutions named therein as agents for the
Lenders (in such capacity, collectively, the "Other Agents").

                                   WITNESSETH:

                  WHEREAS, the Borrower, the Lenders and the Administrative
Agent and the Other Agents are parties to the Credit Agreement;

                  WHEREAS, the Borrower has notified the Lenders of its
intention to refinance its existing senior subordinated notes from time to time
(as hereinafter further defined, the "Senior Subordinated Notes");

                  WHEREAS, the Borrower has requested that the Lenders amend the
Credit Agreement as set forth herein;

                  WHEREAS, the Lenders, the Administrative Agent and the Other
Agents are willing to agree to such amendment to the Credit Agreement, subject
to the terms and conditions set forth herein;

                  NOW, THEREFORE, in consideration of the premises and mutual
covenants contained herein, the Borrower, the Lenders, the Administrative Agent
and the Other Agents hereby agree as follows:

                  1. Defined Terms. Unless otherwise defined herein, capitalized
terms which are defined in the Credit Agreement are used herein as therein
defined.

                  2. Amendments to Credit Agreement. (a) Section 1.1 of the
Credit Agreement is amended as follows:

                  (i) by adding the following sentence at the end of the
                  definition of "Second Lien Notes":

                  Upon the issuance of any Permitted Refinancing Indebtedness in
                  respect of any Notes, such Permitted Refinancing Indebtedness
                  shall be deemed to be Second Lien Notes (in addition to any
                  other Second Lien Notes that are then outstanding).

                  and (ii) by adding the following sentence at the end of the
                  definition of "Second Lien Note Indenture":

<PAGE>

                                                                               2

                  Upon the issuance of any Permitted Refinancing Indebtedness in
                  respect of any Second Lien Notes, the indenture or similar
                  agreement pursuant to which such Permitted Refinancing
                  Indebtedness is issued shall be deemed to be a Second Lien
                  Note Indenture (in addition to any other indenture or similar
                  agreement for Second Lien Notes then outstanding); provided,
                  however, that (1) the provisions of Section 4.22 shall apply
                  to such indenture or similar agreement pursuant to which such
                  Permitted Refinancing Indebtedness is issued only if such
                  indenture or agreement (or any agreement ancillary thereto) is
                  secured by any assets of the Borrower or its Subsidiaries, and
                  (2) the provisions of Section 7.9(c) shall not apply to such
                  indenture or similar agreement pursuant to which such
                  Permitted Refinancing Indebtedness is issued.;

                  (iii) by adding the following sentence at the end of the
                  definition of "Senior Subordinated Notes":

                  Upon the issuance of any Permitted Refinancing Indebtedness in
                  respect of any Senior Subordinated Notes, such Permitted
                  Refinancing Indebtedness shall be deemed to be Senior
                  Subordinated Notes (in addition to any other Senior
                  Subordinated Notes that are then outstanding).

                  and (iv) by adding the following sentence at the end of the
                  definition of "Senior Subordinated Note Indenture":

                  Upon the issuance of any Permitted Refinancing Indebtedness in
                  respect of any Senior Subordinated Notes, the indenture or
                  similar agreement pursuant to which such Permitted Refinancing
                  Indebtedness is issued shall be deemed to be a Senior
                  Subordinated Note Indenture (in addition to any other
                  indenture or similar agreement for Senior Subordinated Notes
                  then outstanding); provided, however (1) the provisions of
                  Section 7.9(c) shall apply to such indenture or similar
                  agreement pursuant to which such Permitted Refinancing
                  Indebtedness is issued only if such indenture or agreement
                  includes a provision regarding "Designated Senior Debt"
                  similar to that included in the Indenture, dated as of October
                  14, 1999 between the Borrower and The Bank of New York, as
                  trustee (the "1999 Indenture"), and (2) the provisions of
                  Section 4.21 shall apply to such indenture or similar
                  agreement pursuant to which such Permitted Refinancing
                  Indebtedness is issued only if such indenture or agreement
                  includes a provision regarding the designation of "Senior
                  Debt" of the Borrower or "Guarantor Senior Debt" of any
                  Subsidiary Guarantor, as applicable, similar to those included
                  in the 1999 Indenture.

(b) Section 7.9 of the Credit Agreement is amended by deleting the parenthetical
immediately after the words "Senior Subordinated Indenture" and adding the
following parenthetical:

         (other than any such amendment, modification, waiver or other change
         that (x) (i) would extend the maturity or reduce the amount of any
         payment of principal thereof or reduce the rate or extend any date for
         payment of interest thereon and (ii) does not involve the payment of a
         consent fee or (y) is not adverse to the Lenders)

<PAGE>

                                                                               3

(c) Section 6.9(f) of the Credit Agreement is amended by inserting the words
"Second Lien Note" immediately before the word "Indenture" therein;

(d) Section 8.1(m) of the Credit agreement is amended by deleting the phrase
"pursuant to a Permitted Second Lien Notes Refinancing" immediately after the
word "interest" and adding "or as permitted by the last section of Section
7.15."

                  3. Refinancing of Senior Subordinated Notes. The Lenders (a)
consent to the amendments to the existing Senior Subordinated Note Indenture on
the terms set forth in the Offer to Purchase and Consent Solicitation Statement
dated April 30, 2004 ("Offer to Purchase") and (b) consent to the purchase,
payment, prepayment, defeasance, retirement or other acquisition by the Borrower
of the existing Senior Subordinated Notes remaining outstanding after completion
of the Offer to Purchase as long as (1) no Default or Event of Default has
occurred and is continuing and (2) the transaction takes place on or prior to
December 31, 2004. The Lenders further agree that the provisions of Section 2.13
of the Credit Agreement shall not apply to the Net Cash Proceeds of any issuance
or incurrence by the Borrower or any of its Subsidiaries of any Capital Stock or
Indebtedness to the extent, but only to the extent, such Net Cash Proceeds are
used to effect one or more transactions in accordance with the foregoing clause
(b).

                  4. Representations and Warranties. The Borrower hereby
confirms that the representations and warranties set forth in Section 4 of the
Credit Agreement, as amended by this First Amendment, are true and correct in
all material respects as if made as of the Effective Date (except such
representations and warranties as are made as of a particular date, which such
representations and warranties shall be true and correct in all material
respects as if made as of such date). The Borrower represents and warrants that,
after giving effect to this First Amendment, no Default or Event of Default has
occurred and is continuing.

                  5. Effectiveness. This First Amendment shall become effective
as of the date of receipt by the Administrative Agent of counterparts of this
First Amendment executed by the Borrower and the Required Lenders (the
"Effective Date").

                  6. Continuing Effect of the Credit Agreement. This First
Amendment shall not constitute an amendment of any provision of the Credit
Agreement not expressly referred to herein and shall not be construed as a
waiver or consent to any further or future action on the part of the Borrower
that would require a waiver or consent of the Lenders, the Administrative Agent
or the Other Agents. Except as expressly amended hereby, the provisions of the
Credit Agreement are and shall remain in full force and effect.

                  7. Counterparts. This First Amendment may be executed by the
parties hereto in any number of separate counterparts (including telecopied
counterparts), each of which shall be deemed to be an original, and all of which
taken together shall be deemed to constitute one and the same instrument.

<PAGE>

                                                                               4

                  8. GOVERNING LAW. THIS FIRST AMENDMENT SHALL BE GOVERNED BY,
AND CONSTRUED AND INTERPRETED IN ACCORDANCE WITH, THE LAWS OF THE STATE OF NEW
YORK.

<PAGE>

                  IN WITNESS WHEREOF, the parties hereto have caused this First
Amendment to be duly executed and delivered by their respective proper and duly
authorized officers as of the day and year first above written.

                                       TENNECO AUTOMOTIVE INC.

                                       By:
                                           -------------------------------------
                                           Name:
                                           Title:

                                       JPMORGAN CHASE BANK, as Administrative
                                       Agent and as a Lender

                                       By:
                                           -------------------------------------
                                           Name:
                                           Title:

                                       DEUTSCHE BANK SECURITIES INC., as
                                       Syndication Agent and as a Lender

                                       By:
                                           -------------------------------------
                                           Name:
                                           Title:

<PAGE>

                                       FIRST AMENDMENT dated as of April 30,
                                       2004 to the Tenneco Automotive Inc.
                                       Amended and Restated Credit Agreement,
                                       dated as of December 12, 2003 (amending
                                       and restating the Credit Agreement dated
                                       as of September 30, 1999)

                                       -----------------------------------------
                                                       [LENDER]

                                       By:
                                           -------------------------------------
                                           Name:
                                           Title:

<PAGE>

Each of the undersigned agrees to the foregoing
First Amendment and confirms that its
obligations under the Loan Documents to
which it is a party remain in full force and
effect after giving effect to such Fourth
Amendment:

TENNECO AUTOMOTIVE OPERATING COMPANY INC.
TENNECO INTERNATIONAL HOLDING CORP.
TENNECO GLOBAL HOLDINGS INC.
THE PULLMAN COMPANY
TMC TEXAS INC.
CLEVITE INDUSTRIES INC.

By:
   -----------------------------------
   Name:
   Title:

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