(ii) the Tax Indemnitee shall refund to Lessee any amounts
 theretofore paid or advanced by Lessee with respect to
 such Indemnified Tax, excluding all contest costs
 described in Clause 5.12(b)(iv) above.

 (f) Upon a final determination of a contest pursuant to this
 Clause 5.12:

 (i) if the amount of the indemnity payable by Lessee
 pursuant to this Clause 5 with respect to the contested
 Tax Claim exceeds the amount (if any) advanced by Lessee
 to the Tax Indemnitee pursuant to Clause 5.12(b)(v),
 Lessee shall pay to the Tax Indemnitee the amount of
 such excess not later than thirty (30) days after the
 day on which Lessee receives the Tax Indemnitee's
 written demand for the indemnity payable by the Lessee
 after the date of such final determination; or

 (ii) if the amount (if any) of the advance made by Lessee to
 the Tax Indemnitee pursuant to Clause 5.12(b)(v) exceeds
 the amount of the indemnity payable by Lessee to the Tax
 Indemnitee pursuant to this Clause 5 with respect to the
 contested Tax Claim, the Tax Indemnitee shall pay to
 Lessee the amount of such excess not later than thirty
 (30) days after the date on which the Lessor receives
 the Lessee's written demand therefor after the date of
 such final determination.

 5.13 INDEMNITIES TO BE PAID ON AN AFTER-TAX BASIS/SURVIVAL:

 Any indemnity or other amount payable by Lessee pursuant to Clause
 5.7, 5.8, 5.9 or 5.10 shall be paid on an After-Tax Basis.