Collection of Certain Mortgage Loan Payments; Deposits to Custodial Account (a) The Master Servicer shall make reasonable efforts to collect all payments called for under the terms and provisions of the Mortgage Loans, and shall, to the extent such procedures shall be consistent with this Agreement and the terms and provisions of any related Primary Insurance Policy, follow such collection procedures as it would employ in its good faith business judgment and which are normal and usual in its general mortgage servicing activities. Consistent with the foregoing, the Master Servicer may in its discretion (i) waive any late payment charge or any prepayment charge or penalty interest in connection with the prepayment of a Mortgage Loan and (ii) extend the Due Date for payments due on a Mortgage Loan in accordance with the Program Guide; provided, however, that the Master Servicer shall first determine that any such waiver or extension will not impair the coverage of any related Primary Insurance Policy or materially adversely affect the lien of the related Mortgage. Notwithstanding anything in this Section to the contrary, the Master Servicer shall not enforce any prepayment charge to the extent that such enforcement would violate any applicable law. In the event of any such arrangement, the Master Servicer shall make timely advances on the related Mortgage Loan during the scheduled period in accordance with the amortization schedule of such Mortgage Loan without modification thereof by reason of such arrangements unless otherwise agreed to by the Holders of the Classes of Certificates affected thereby; provided, however, that no such extension shall be made if any such advance would be a Nonrecoverable Advance. Consistent with the terms of this Agreement, the Master Servicer may also waive, modify or vary any term of any Mortgage Loan or consent to the postponement of strict compliance with any such term or in any manner grant indulgence to any Mortgagor if in the Master Servicer's determination such waiver, modification, postponement or indulgence is not materially adverse to the interests of the Certificateholders (taking into account any estimated Realized Loss that might result absent such action); provided, however, that the Master Servicer may not modify materially or permit any Subservicer to modify any Mortgage Loan, including without limitation any modification that would change the Mortgage Rate, forgive the payment of any principal or interest (unless in connection with the liquidation of the related Mortgage Loan or except in connection with prepayments to the extent that such reamortization is not inconsistent with the terms of the Mortgage Loan), capitalize any amounts owing on the Mortgage Loan by adding such amount to the outstanding principal balance of the Mortgage Loan, or extend the final maturity date of such Mortgage Loan, unless such Mortgage Loan is in default or, in the judgment of the Master Servicer, such default is reasonably foreseeable; provided, further, that (1) no such modification shall reduce the interest rate on a Mortgage Loan below one-half of the Mortgage Rate as in effect on the Cut-off Date, but not less than the sum of the rates at which the Servicing Fee and the Subservicing Fee with respect to such Mortgage Loan accrues plus the rate at which the premium paid to the Certificate Insurer, if any, accrues, (2) the final maturity date for any Mortgage Loan shall not be extended beyond the Maturity Date, (3) the Stated Principal Balance of all Reportable Modified Mortgage Loans subject to Servicing Modifications (measured at the time of the Servicing Modification and after giving effect to any Servicing Modification) can be no more than five percent of the aggregate principal balance of the Mortgage Loans as of the Cut-off Date, unless such limit is increased from time to time with the consent of the Rating Agencies and the Certificate Insurer, if any. In addition, any amounts owing on a Mortgage Loan added to the outstanding principal balance of such Mortgage Loan must be fully amortized over the remaining term of such Mortgage Loan, and such amounts may be added to the outstanding principal balance of a Mortgage Loan only once during the life of such Mortgage Loan. Also, the addition of such amounts described in the preceding sentence shall be implemented in accordance with the Program Guide and may be implemented only by Subservicers that have been approved by the Master Servicer for such purpose. In connection with any Curtailment of a Mortgage Loan, the Master Servicer, to the extent not inconsistent with the terms of the Mortgage Note and local law and practice, may permit the Mortgage Loan to be reamortized such that the Monthly Payment is recalculated as an amount that will fully amortize the remaining Stated Principal Balance thereof by the original Maturity Date based on the original Mortgage Rate; provided, that such re-amortization shall not be permitted if it would constitute a reissuance of the Mortgage Loan for federal income tax purposes, except if such reissuance is described in Treasury Regulation Section 1.860G-2(b)(3). (b) The Master Servicer shall establish and maintain a Custodial Account in which the Master Servicer shall deposit or cause to be deposited on a daily basis, except as otherwise specifically provided herein, the following payments and collections remitted by Subservicers or received by it in respect of the Mortgage Loans subsequent to the Cut-off Date (other than in respect of principal and interest on the Mortgage Loans due on or before the Cut-off Date): (i) All payments on account of principal, including Principal Prepayments made by Mortgagors on the Mortgage Loans and the principal component of any Subservicer Advance or of any REO Proceeds received in connection with an REO Property for which an REO Disposition has occurred; (ii) All payments on account of interest at the Adjusted Mortgage Rate on the Mortgage Loans, including Buydown Funds, if any, and the interest component of any Subservicer Advance or of any REO Proceeds received in connection with an REO Property for which an REO Disposition has occurred; (iii) Insurance Proceeds, Subsequent Recoveries and Liquidation Proceeds (net of any related expenses of the Subservicer); (iv) All proceeds of any Mortgage Loans purchased pursuant to Section 2.02, 2.03, 2.04 or 4.07 (including amounts received from Residential Funding pursuant to the last paragraph of Section 4 of the Assignment Agreement in respect of any liability, penalty or expense that resulted from a breach of the Compliance With Laws Representation and all amounts required to be deposited in connection with the substitution of a Qualified Substitute Mortgage Loan pursuant to Section 2.03 or 2.04; (v) Any amounts required to be deposited pursuant to Section 3.07(c) or 3.21; (vi) All amounts transferred from the Certificate Account to the Custodial Account in accordance with Section 4.02(a); (vii) Any amounts realized by the Subservicer and received by the Master Servicer in respect of any Additional Collateral; and (viii) Any amounts received by the Master Servicer in respect of Pledged Assets. The foregoing requirements for deposit in the Custodial Account shall be exclusive, it being understood and agreed that, without limiting the generality of the foregoing, payments on the Mortgage Loans which are not part of the Trust Fund (consisting of payments in respect of principal and interest on the Mortgage Loans due on or before the Cut-off Date) and payments or collections in the nature of prepayment charges or late payment charges or assumption fees may but need not be deposited by the Master Servicer in the Custodial Account. In the event any amount not required to be deposited in the Custodial Account is so deposited, the Master Servicer may at any time withdraw such amount from the Custodial Account, any provision herein to the contrary notwithstanding. The Custodial Account may contain funds that belong to one or more trust funds created for mortgage pass-through certificates of other series and may contain other funds respecting payments on mortgage loans belonging to the Master Servicer or serviced or master serviced by it on behalf of others. Notwithstanding such commingling of funds, the Master Servicer shall keep records that accurately reflect the funds on deposit in the Custodial Account that have been identified by it as being attributable to the Mortgage Loans. With respect to Insurance Proceeds, Liquidation Proceeds, REO Proceeds and the proceeds of the purchase of any Mortgage Loan pursuant to Sections 2.02, 2.03, 2.04 and 4.07 received in any calendar month, the Master Servicer may elect to treat such amounts as included in the Available Distribution Amount for the Distribution Date in the month of receipt, but is not obligated to do so. If the Master Servicer so elects, such amounts will be deemed to have been received (and any related Realized Loss shall be deemed to have occurred) on the last day of the month prior to the receipt thereof. (c) The Master Servicer shall use its best efforts to cause the institution maintaining the Custodial Account to invest the funds in the Custodial Account attributable to the Mortgage Loans in Permitted Investments which shall mature not later than the Certificate Account Deposit Date next following the date of such investment (with the exception of the Amount Held for Future Distribution) and which shall not be sold or disposed of prior to their maturities. All income and gain realized from any such investment shall be for the benefit of the Master Servicer as additional servicing compensation and shall be subject to its withdrawal or order from time to time. The amount of any losses incurred in respect of any such investments attributable to the investment of amounts in respect of the Mortgage Loans shall be deposited in the Custodial Account by the Master Servicer out of its own funds immediately as realized without any right of reimbursement. (d) The Master Servicer shall give notice to the Trustee and the Company of any change in the location of the Custodial Account and the location of the Certificate Account prior to the use thereof.
Collection of Certain Mortgage Loan Payments (a) The Servicer shall make reasonable efforts to collect all payments called for under the terms and provisions of the Mortgage Loans, and shall, to the extent such procedures shall be consistent with this Agreement and the terms and provisions of any applicable insurance policies, follow such collection procedures as it would follow with respect to mortgage loans comparable to the Mortgage Loans and held for its own account. Consistent with the foregoing, the Servicer may in its discretion (i) waive any late payment charge or, if applicable, any penalty interest, or (ii) extend the due dates for the Monthly Payments due on a Mortgage Note for a period of not greater than 270 days; provided that any extension pursuant to clause (ii) above shall not affect the amortization schedule of any Mortgage Loan for purposes of any computation hereunder, except as provided below. In the event of any such arrangement pursuant to clause (ii) above, the Servicer shall make timely P&I Advances on such Mortgage Loan during such extension pursuant to Section 4.03 and in accordance with the amortization schedule of such Mortgage Loan without modification thereof by reason of such arrangements, subject to Section 4.03(d) pursuant to which the Servicer shall not be required to make any such P&I Advances that are Nonrecoverable P&I Advances. Notwithstanding the foregoing, in the event that a Mortgage Loan is in default or, in the judgment of the Servicer, such default is reasonably foreseeable, the Servicer, consistent with the standards set forth in Section 3.01, may also waive, modify or vary any term of such Mortgage Loan (including modifications that would change the related Mortgage Rate, forgive the payment of principal or interest or extend the final maturity date of such Mortgage Loan), accept payment from the related Mortgagor of an amount less than the Stated Principal Balance in final satisfaction of such Mortgage Loan or consent to the postponement of strict compliance with any such term or otherwise grant indulgence to any related Mortgagor. (b) Notwithstanding anything herein to the contrary, the Servicer may waive (or permit a subservicer to waive) a Prepayment Premium pursuant to the conditions set forth in Section 2.05(a)(vii). With respect to any such waiver of a Prepayment Premium, the Servicer shall deliver to the Trustee a written report stating that the conditions set forth in Section 2.05(a)(vii) have been met with respect to the related Mortgage Loan. (c) Notwithstanding any provision in this Agreement to the contrary, in the event the Prepayment Premium payable under the terms of the Mortgage Note is less than the amount of the Prepayment Premium set forth in the Mortgage Loan Schedule or other information provided to the Servicer, the Servicer shall not have liability or obligation with respect to such difference, and in addition the Servicer shall not have any liability or obligation to pay the amount of any uncollected Prepayment Premium if the failure to collect such amount is the direct result of inaccurate or incomplete information on the Mortgage Loan Schedule.
Collection of Mortgage Loan Payments Continuously from the Closing Date or Servicing Transfer Date, as applicable, until the date each Mortgage Loan ceases to be subject to this Agreement, the Servicer shall proceed diligently to collect all payments due under each of the Mortgage Loans when the same shall become due and payable and shall take special care in ascertaining and estimating Escrow Payments and all other charges that will become due and payable with respect to the Mortgage Loans and each related Mortgaged Property, to the end that the installments payable by the Mortgagors will be sufficient to pay such charges as and when they become due and payable.
Distribution of Collateral Proceeds In the event that, following the occurrence or during the continuance of any Default or Event of Default, the Administrative Agent or any Lender, as the case may be, receives any monies in connection with the enforcement of any of the Security Documents, or otherwise with respect to the realization upon any of the Collateral, such monies shall be distributed for application as follows: (a) First, to the payment of, or (as the case may be) the reimbursement of the Administrative Agent, in its capacity as such, for or in respect of all reasonable costs, expenses, disbursements and losses which shall have been incurred or sustained by the Administrative Agent in connection with the collection of such monies by the Administrative Agent, for the exercise, protection or enforcement by the Administrative Agent of all or any of the rights, remedies, powers and privileges of the Administrative Agent under this Credit Agreement or any of the other Loan Documents or in respect of the Collateral or in support of any provision of adequate indemnity to the Administrative Agent against any taxes or liens which by law shall have, or may have, priority over the rights of the Administrative Agent to such monies; (b) Second, to all other Obligations in such order or preference as the Required Lenders may determine; provided, however, that (i) distributions shall be made (A) pari passu among Obligations with respect to the Administrative Agent’s Fee and all other Obligations and (B) with respect to each type of Obligation owing to the Lenders, such as interest, principal, fees and expenses, among the Lenders pro rata across all Tranches and (ii) the Administrative Agent may in its discretion make proper allowance to take into account any Obligations not then due and payable; (c) Third, upon payment and satisfaction in full in cash or other provisions for payment in full satisfactory to the Lenders and the Administrative Agent of all of the Obligations, to the payment of any obligations required to be paid pursuant to §9-615 of the UCC of the State of New York; and (d) Fourth, the excess, if any, shall be returned to the Borrower or to such other Persons as are entitled thereto.
Collection of Mortgage Loan Payments; Certificate Account; Distribution Account (a) The Master Servicer shall make reasonable efforts in accordance with the customary and usual standards of practice of prudent mortgage servicers to collect all payments called for under the terms and provisions of the Mortgage Loans to the extent such procedures shall be consistent with this Agreement and the terms and provisions of any related Required Insurance Policy. Consistent with the foregoing, the Master Servicer may in its discretion (i) waive any late payment charge or any prepayment charge or penalty interest in connection with the prepayment of a Mortgage Loan and (ii) extend the due dates for payments due on a Mortgage Note for a period not greater than 180 days; provided, however, that the Master Servicer cannot extend the maturity of any such Mortgage Loan past the date on which the final payment is due on the latest maturing Mortgage Loan as of the Cut-off Date. In the event of any such arrangement, the Master Servicer shall make Advances on the related Mortgage Loan in accordance with the provisions of Section 4.1 during the scheduled period in accordance with the amortization schedule of such Mortgage Loan without modification thereof by reason of such arrangements. The Master Servicer shall not be required to institute or join in litigation with respect to collection of any payment (whether under a Mortgage, Mortgage Note or otherwise or against any public or governmental authority with respect to a taking or condemnation) if it reasonably believes that enforcing the provision of the Mortgage or other instrument pursuant to which such payment is required is prohibited by applicable law. (b) The Master Servicer shall establish and maintain the Certificate Account. The Certificate Account shall consist of two separate subaccounts, each of which shall relate to a particular Mortgage Pool. No later than two Business Days after receipt, except as otherwise specifically provided herein, the Master Servicer shall deposit or shall cause to be deposited into the applicable subaccount of the Certificate Account the following payments and collections remitted by Subservicers or received by it in respect of the Mortgage Loans in the related Mortgage Pool subsequent to the Cut-off Date (other than in respect of principal and interest due on such Mortgage Loans on or before the Cut-off Date) and the following amounts required to be deposited hereunder: (i) all payments on account of principal on the Mortgage Loans in the related Mortgage Pool, including Principal Prepayments; (ii) all payments on account of interest on the Mortgage Loans in the related Mortgage Pool, net of the related Master Servicing Fee, any Prepayment Interest Excess and, for so long as First Horizon is the Master Servicer, any Retained Yield; (iii) all Insurance Proceeds and Liquidation Proceeds in respect of the related Mortgage Loans in the related Mortgage Pool, other than proceeds to be applied to the restoration or repair of the Mortgaged Property or released to the Mortgagor in accordance with the Master Servicer's normal servicing procedures; (iv) any amount required to be deposited by the Master Servicer in respect of the related Mortgage Pool pursuant to Section 3.5(c) in connection with any losses on Permitted Investments; (v) any amounts required to be deposited by the Master Servicer in respect of the related Mortgage Pool pursuant to Section 3.9(b), 3.9(d), and in respect of net monthly rental income from any related REO Property pursuant to Section 3.11 hereof; (vi) all Substitution Adjustment Amounts in respect of the related Mortgage Pool; (vii) all Advances in respect of the related Mortgage Pool made by the Master Servicer pursuant to Section 4.1; and (viii) any other amounts required to be deposited hereunder in respect of the related Mortgage Pool. In addition, with respect to any Mortgage Loan that is subject to a buydown agreement, on each Due Date for such Mortgage Loan, in addition to the monthly payment remitted by the Mortgagor, the Master Servicer shall cause funds to be deposited into the applicable subaccount of the Certificate Account in an amount required to cause an amount of interest to be paid with respect to such Mortgage Loan equal to the amount of interest that has accrued on such Mortgage Loan from the preceding Due Date at the related Adjusted Mortgage Rate on such date. The foregoing requirements for remittance by the Master Servicer shall be exclusive, it being understood and agreed that, without limiting the generality of the foregoing, payments in the nature of prepayment penalties, late payment charges, assumption fees or amounts attributable to reimbursements of Advances, if collected, need not be remitted by the Master Servicer. In the event that the Master Servicer shall remit any amount not required to be remitted, it may at any time withdraw or direct the institution maintaining the Certificate Account to withdraw such amount from the Certificate Account, any provision herein to the contrary notwithstanding. Such withdrawal or direction may be accomplished by delivering written notice thereof to the Trustee or such other institution maintaining the Certificate Account which describes the amounts deposited in error in the Certificate Account. The Master Servicer shall maintain adequate records with respect to all withdrawals made pursuant to this Section. All funds deposited in the Certificate Account shall be held in trust for the Certificateholders until withdrawn in accordance with Section 3.8. (c) The Trustee shall establish and maintain, on behalf of the Certificateholders, the Distribution Account. The Distribution Account shall consist of two separate subaccounts, each of which shall relate to a particular Mortgage Pool. The Trustee shall, promptly upon receipt, deposit in the Distribution Account and retain therein the following: (i) the aggregate amount remitted by the Master Servicer to the Trustee in respect of a Mortgage Pool pursuant to Section 3.8(a)(ix); (ii) any amount deposited by the Master Servicer pursuant to this Section 3.5(c) in connection with any losses on Permitted Investments; and (iii) any other amounts deposited hereunder which are required to be deposited in the Distribution Account. In the event that the Master Servicer shall remit any amount not required to be remitted, it may at any time direct the Trustee to withdraw such amount from the applicable subaccount of the Distribution Account, any provision herein to the contrary notwithstanding. Such direction may be accomplished by delivering an Officer's Certificate to the Trustee which describes the amounts deposited in error in the Distribution Account. All funds deposited in the Distribution Account shall be held by the Trustee in trust for the related Certificateholders until disbursed in accordance with this Agreement or withdrawn in accordance with Section 3.8. In no event shall the Trustee incur liability for withdrawals from the Distribution Account at the direction of the Master Servicer. (iv) The institutions at which the Certificate Account and the Distribution Account are maintained shall invest funds as directed by the Master Servicer in Permitted Investments which in both cases shall mature not later than (i) in the case of the Certificate Account, the second Business Day next preceding the related Distribution Account Deposit Date (except that if such Permitted Investment is an obligation of the institution that maintains such account, then such Permitted Investment shall mature not later than the Business Day next preceding such Distribution Account Deposit Date) and (ii) in the case of the Distribution Account, the Business Day next preceding the Distribution Date (except that if such Permitted Investment is an obligation of the institution that maintains such fund or account, then such Permitted Investment shall mature not later than such Distribution Date) and, in each case, shall not be sold or disposed of prior to its maturity. All such Permitted Investments shall be made in the name of the Trustee, for the benefit of the Certificateholders. All income and gain net of any losses realized from any such investment of funds on deposit in the Certificate Account shall be for the benefit of the Master Servicer as servicing compensation and all income and gain net of any losses realized from any such investment of funds on deposit in the Distribution Account shall be for the benefit of the Trustee. The amount of any Realized Losses in the Certificate Account in respect of any such investments shall promptly be deposited by the Master Servicer in the Certificate Account and the amount of any Realized Losses in the Distribution Account in respect of any such investments shall promptly be deposited by the Trustee into the Distribution Account. All reinvestment income earned on amounts on deposit in the Distribution Account shall be for the benefit of the Trustee. The Trustee in its fiduciary capacity shall not be liable for the amount of any loss incurred in respect of any investment or lack of investment of funds held in the Certificate Account and made in accordance with this Section 3.5. (v) The Master Servicer shall give notice to the Trustee, the Seller, each Rating Agency and the Depositor of any proposed change of the location of the Certificate Account prior to any change thereof. The Trustee shall give notice to the Master Servicer, the Seller, each Rating Agency and the Depositor of any proposed change of the location of the Distribution Account prior to any change thereof.
Compromises and Collection of Collateral The Grantors and the Administrative Agent recognize that setoffs, counterclaims, defenses and other claims may be asserted by obligors with respect to certain of the Receivables, that certain of the Receivables may be or become uncollectible in whole or in part and that the expense and probability of success in litigating a disputed Receivable may exceed the amount that reasonably may be expected to be recovered with respect to a Receivable. In view of the foregoing, each Grantor agrees that the Administrative Agent may at any time and from time to time, if an Event of Default has occurred and is continuing, compromise with the obligor on any Receivable, accept in full payment of any Receivable such amount as the Administrative Agent in its sole discretion shall determine or abandon any Receivable, and any such action by the Administrative Agent shall be commercially reasonable so long as the Administrative Agent acts in good faith based on information known to it at the time it takes any such action.
Realization Upon Defaulted Mortgage Loans; Repurchase of Certain Mortgage Loans (a) The Master Servicer shall use reasonable efforts to foreclose upon or otherwise comparably convert the ownership of properties securing such of the Mortgage Loans as come into and continue in default and as to which no satisfactory arrangements can be made for collection of delinquent payments. In connection with such foreclosure or other conversion, the Master Servicer shall follow such practices and procedures as it shall deem necessary or advisable and as shall be normal and usual in its general mortgage servicing activities and meet the requirements of the insurer under any Required Insurance Policy; provided, however, that the Master Servicer shall not be required to expend its own funds in connection with any foreclosure or towards the restoration of any property unless it shall determine (i) that such restoration and/or foreclosure will increase the proceeds of liquidation of the Mortgage Loan after reimbursement to itself of such expenses and (ii) that such expenses will be recoverable to it through Liquidation Proceeds (respecting which it shall have priority for purposes of withdrawals from the Certificate Account). The Master Servicer shall be responsible for all other costs and expenses incurred by it in any such proceedings; provided, however, that it shall be entitled to reimbursement thereof from the liquidation proceeds with respect to the related Mortgaged Property, as provided in the definition of Liquidation Proceeds. If the Master Servicer has knowledge that a Mortgaged Property which the Master Servicer is contemplating acquiring in foreclosure or by deed in lieu of foreclosure is located within a 1 mile radius of any site listed in the Expenditure Plan for the Hazardous Substance Clean Up Bond Act of 1984 or other site with environmental or hazardous waste risks known to the Master Servicer, the Master Servicer will, prior to acquiring the Mortgaged Property, consider such risks and only take action in accordance with its established environmental review procedures. With respect to any REO Property, the deed or certificate of sale shall be taken in the name of the Trustee for the benefit of the Certificateholders, or its nominee, on behalf of the Certificateholders. The Trustee's name shall be placed on the title to such REO Property solely as the Trustee hereunder and not in its individual capacity. The Master Servicer shall ensure that the title to such REO Property references the Pooling and Servicing Agreement and the Trustee's capacity thereunder. Pursuant to its efforts to sell such REO Property, the Master Servicer shall either itself or through an agent selected by the Master Servicer protect and conserve such REO Property in the same manner and to such extent as is customary in the locality where such REO Property is located and may, incident to its conservation and protection of the interests of the Certificateholders, rent the same, or any part thereof, as the Master Servicer deems to be in the best interest of the Certificateholders for the period prior to the sale of such REO Property. The Master Servicer shall prepare for and deliver to the Trustee a statement with respect to each REO Property that has been rented showing the aggregate rental income received and all expenses incurred in connection with the maintenance of such REO Property at such times as is necessary to enable the Trustee to comply with the reporting requirements of the REMIC Provisions. The net monthly rental income, if any, from such REO Property shall be deposited in the Certificate Account no later than the close of business on each Determination Date. The Master Servicer shall perform the tax reporting and withholding required by Sections 1445 and 6050J of the Code with respect to foreclosures and abandonments, the tax reporting required by Section 6050H of the Code with respect to the receipt of mortgage interest from individuals and any tax reporting required by Section 6050P of the Code with respect to the cancellation of indebtedness by certain financial entities, by preparing such tax and information returns as may be required, in the form required, and delivering the same to the Trustee for filing. In the event that the Trust Fund acquires any Mortgaged Property as aforesaid or otherwise in connection with a default or imminent default on a Mortgage Loan, the Master Servicer shall dispose of such Mortgaged Property as soon as practicable in a manner that maximizes the Liquidation Proceeds thereof, but in no event later than three years after its acquisition by the Trust Fund. In that event, the Trustee shall have been supplied with an Opinion of Counsel to the effect that the holding by the Trust Fund of such Mortgaged Property subsequent to a three-year period, if applicable, will not result in the imposition of taxes on "prohibited transactions" of any REMIC hereunder as defined in section 860F of the Code or cause any REMIC hereunder to fail to qualify as a REMIC at any time that any Certificates are outstanding, the Trust Fund may continue to hold such Mortgaged Property (subject to any conditions contained in such Opinion of Counsel) after the expiration of such three-year period. Notwithstanding any other provision of this Agreement, no Mortgaged Property acquired by the Trust Fund shall be rented (or allowed to continue to be rented) or otherwise used for the production of income by or on behalf of the Trust Fund in such a manner or pursuant to any terms that would (i) cause such Mortgaged Property to fail to qualify as "foreclosure property" within the meaning of section 860G(a)(8) of the Code or (ii) subject any REMIC hereunder to the imposition of any federal, state or local income taxes on the income earned from such Mortgaged Property under Section 860G(c) of the Code or otherwise, unless the Master Servicer has agreed to indemnify and hold harmless the Trust Fund with respect to the imposition of any such taxes. In the event of a default on a Mortgage Loan one or more of whose obligor is not a United States Person, as that term is defined in Section 7701(a)(30) of the Code, in connection with any foreclosure or acquisition of a deed in lieu of foreclosure (together, "foreclosure") in respect of such Mortgage Loan, the Master Servicer will cause compliance with the provisions of Treasury Regulation Section 1.1445-2(d)(3) (or any successor thereto) necessary to assure that no withholding tax obligation arises with respect to the proceeds of such foreclosure except to the extent, if any, that proceeds of such foreclosure are required to be remitted to the obligors on such Mortgage Loan. The decision of the Master Servicer to foreclose on a defaulted Mortgage Loan shall be subject to a determination by the Master Servicer that the proceeds of such foreclosure would exceed the costs and expenses of bringing such a proceeding. The income earned from the management of any REO Properties, net of reimbursement to the Master Servicer for expenses incurred (including any property or other taxes) in connection with such management and net of unreimbursed Basic Master Servicing Fees, Advances and Servicing Advances, shall be applied to the payment of principal of and interest on the related defaulted Mortgage Loans (with interest accruing as though such Mortgage Loans were still current) and all such income shall be deemed, for all purposes in this Agreement, to be payments on account of principal and interest on the related Mortgage Notes and shall be deposited into the Certificate Account. To the extent the net income received during any calendar month is in excess of the amount attributable to amortizing principal and accrued interest at the related Mortgage Rate on the related Mortgage Loan for such calendar month, such excess shall be considered to be a partial prepayment of principal of the related Mortgage Loan. The proceeds from any liquidation of a Mortgage Loan, as well as any income from an REO Property, will be applied in the following order of priority: first, to reimburse the Master Servicer for any related unreimbursed Servicing Advances and Basic Master Servicing Fees; second, to reimburse the Master Servicer for any unreimbursed Advances; third, to reimburse the Certificate Account for any Nonrecoverable Advances (or portions thereof) that were previously withdrawn by the Master Servicer pursuant to Section 3.08(a)(iii) that related to such Mortgage Loan; fourth, to accrued and unpaid interest (to the extent no Advance has been made for such amount or any such Advance has been reimbursed) on the Mortgage Loan or related REO Property, at the Adjusted Net Mortgage Rate to the Due Date occurring in the month in which such amounts are required to be distributed; and fifth, as a recovery of principal of the Mortgage Loan. Excess Proceeds, if any, from the liquidation of a Liquidated Mortgage Loan will be retained by the Master Servicer as additional servicing compensation pursuant to Section 3.14. The Master Servicer, in its sole discretion, shall have the right to purchase for its own account from the Trust Fund any Mortgage Loan which is 151 days or more delinquent at a price equal to the Purchase Price; provided, however, that the Master Servicer may only exercise this right on or before the next to the last day of the calendar month in which such Mortgage Loan became 151 days delinquent (such month, the "Eligible Repurchase Month"); provided further, that any such Mortgage Loan which becomes current but thereafter becomes delinquent may be purchased by the Master Servicer pursuant to this Section in any ensuing Eligible Repurchase Month. The Purchase Price for any Mortgage Loan purchased hereunder shall be deposited in the Certificate Account and the Trustee, upon receipt of a certificate from the Master Servicer in the form of Exhibit N hereto, shall release or cause to be released to the purchaser of such Mortgage Loan the related Mortgage File and shall execute and deliver such instruments of transfer or assignment prepared by the purchaser of such Mortgage Loan, in each case without recourse, as shall be necessary to vest in the purchaser of such Mortgage Loan any Mortgage Loan released pursuant hereto and the purchaser of such Mortgage Loan shall succeed to all the Trustee's right, title and interest in and to such Mortgage Loan and all security and documents related thereto. Such assignment shall be an assignment outright and not for security. The purchaser of such Mortgage Loan shall thereupon own such Mortgage Loan, and all security and documents, free of any further obligation to the Trustee or the Certificateholders with respect thereto. (b) The Master Servicer may agree to a modification of any Mortgage Loan (the "Modified Mortgage Loan") if (i) the modification is in lieu of a refinancing and (ii) the Mortgage Rate on the Modified Mortgage Loan is approximately a prevailing market rate for newly-originated mortgage loans having similar terms and (iii) the Master Servicer purchases the Modified Mortgage Loan from the Trust Fund as described below. Effective immediately after the modification, and, in any event, on the same Business Day on which the modification occurs, all interest of the Trustee in the Modified Mortgage Loan shall automatically be deemed transferred and assigned to the Master Servicer and all benefits and burdens of ownership thereof, including the right to accrued interest thereon from the date of modification and the risk of default thereon, shall pass to the Master Servicer. The Master Servicer shall promptly deliver to the Trustee a certification of a Servicing Officer to the effect that all requirements of this paragraph have been satisfied with respect to the Modified Mortgage Loan. For federal income tax purposes, the Trustee shall account for such purchase as a prepayment in full of the Modified Mortgage Loan. The Master Servicer shall deposit the Purchase Price for any Modified Mortgage Loan in the Certificate Account pursuant to Section 3.05 within one Business Day after the purchase of the Modified Mortgage Loan. Upon receipt by the Trustee of written notification of any such deposit signed by a Servicing Officer, the Trustee shall release to the Master Servicer the related Mortgage File and shall execute and deliver such instruments of transfer or assignment, in each case without recourse, as shall be necessary to vest in the Master Servicer any Modified Mortgage Loan previously transferred and assigned pursuant hereto. The Master Servicer covenants and agrees to indemnify the Trust Fund against any liability for any "prohibited transaction" taxes and any related interest, additions, and penalties imposed on the Trust Fund established hereunder as a result of any modification of a Mortgage Loan effected pursuant to this subsection (b), any holding of a Modified Mortgage Loan by the Trust Fund or any purchase of a Modified Mortgage Loan by the Master Servicer (but such obligation shall not prevent the Master Servicer or any other appropriate Person from in good faith contesting any such tax in appropriate proceedings and shall not prevent the Master Servicer from withholding payment of such tax, if permitted by law, pending the outcome of such proceedings). The Master Servicer shall have no right of reimbursement for any amount paid pursuant to the foregoing indemnification, except to the extent that the amount of any tax, interest, and penalties, together with interest thereon, is refunded to the Trust Fund or the Master Servicer.
Certificate Account and Special Payments Account (a) The Trustee shall establish and maintain on behalf of the Certificateholders a Certificate Account as one or more non-interest-bearing accounts. The Trustee shall hold the Certificate Account in trust for the benefit of the Certificateholders, and shall make or permit withdrawals therefrom only as provided in this Agreement. On each day when a Scheduled Payment is made to the Trustee under the Intercreditor Agreement, the Trustee upon receipt thereof shall immediately deposit the aggregate amount of such Scheduled Payment in the Certificate Account. (b) The Trustee shall establish and maintain on behalf of the Certificateholders a Special Payments Account as one or more accounts, which shall be non-interest bearing except as provided in Section 4.
Application of Collateral Proceeds The proceeds and/or avails of the Collateral, or any part thereof, and the proceeds and the avails of any remedy hereunder (as well as any other amounts of any kind held by Lender, at the time of or received by Lender after the occurrence of an Event of Default hereunder) shall be paid to and applied as follows: (a) First, to the payment of out-of-pocket costs and expenses, including all amounts expended to preserve the value of the Collateral, of foreclosure or suit, if any, and of such sale and the exercise of any other rights or remedies, and of all proper fees, expenses, liability and advances, including reasonable legal expenses and attorneys’ fees, incurred or made hereunder by Lender, including, without limitation, Lender’s Expenses; (b) Second, to the payment to Lender of the amount then owing or unpaid on the Loans for any accrued and unpaid interest, the amounts which would have otherwise come due under Section 2.3(b)(ii), if the Loans had been voluntarily prepaid, the principal balance of the Loans, and all other Obligations with respect to the Loans (provided, however, if such proceeds shall be insufficient to pay in full the whole amount so due, owing or unpaid upon the Loans, then to the unpaid interest thereon, then to the amounts which would have otherwise come due under Section 2.3(b)(ii), if the Loans had been voluntarily prepaid, then to the principal balance of the Loans, and then to the payment of other amounts then payable to Lender under any of the Loan Documents); and (c) Third, to the payment of the surplus, if any, to Borrower, its successors and assigns, or to the Person lawfully entitled to receive the same.
Withdrawals from the Collection Account The Servicer shall, from time to time as provided herein, make withdrawals from the Collection Account of amounts on deposit therein pursuant to Section 3.02 that are attributable to the Mortgage Loans for the following purposes: (i) to deposit in the Distribution Account, on the Business Day prior to each Payment Date, an amount equal to the Security Collections required to be distributed on such Payment Date; (ii) to the extent deposited to the Collection Account, to reimburse itself or the related Subservicer for previously unreimbursed expenses incurred in maintaining individual insurance policies pursuant to Section 3.04, or Liquidation Expenses, paid pursuant to Section 3.07 or otherwise reimbursable pursuant to the terms of this Servicing Agreement (to the extent not payable pursuant to Section 3.09), such withdrawal right being limited to amounts received on particular Mortgage Loans (other than any Repurchase Price in respect thereof) which represent late recoveries of the payments for which such advances were made, or from related Liquidation Proceeds or the proceeds of the purchase of such Mortgage Loan; (iii) to pay to itself out of each payment received on account of interest on a Mortgage Loan as contemplated by Section 3.09, an amount equal to the related Servicing Fee (to the extent not retained pursuant to Section 3.02), and to pay to any Subservicer any Subservicing Fees not previously withheld by the Subservicer; (iv) to the extent deposited in the Collection Account to pay to itself as additional servicing compensation any interest or investment income earned on funds deposited in the Collection Account and Payment Account that it is entitled to withdraw pursuant to Sections 3.02(b) and 5.01; (v) to the extent deposited in the Collection Account, to pay to itself as additional servicing compensation any Foreclosure Profits; (vi) to pay to itself or the Seller, with respect to any Mortgage Loan or property acquired in respect thereof that has been purchased or otherwise transferred to the Seller, the Servicer or other entity, all amounts received thereon and not required to be distributed to Securityholders as of the date on which the related Purchase Price or Repurchase Price is determined; (vii) to withdraw any other amount deposited in the Collection Account that was not required to be deposited therein pursuant to Section 3.02; (viii) to pay to the Seller the amount, if any, deposited in the Collection Account by the Indenture Trustee upon release thereof from the Funding Account representing payments for Additional Loans; and (ix) after the occurrence of an Amortization Event, to pay to the Seller, the Excluded Amount. Since, in connection with withdrawals pursuant to clauses (iii), (iv), (vi) and (vii), the Servicer's entitlement thereto is limited to collections or other recoveries on the related Mortgage Loan, the Servicer shall keep and maintain separate accounting, on a Mortgage Loan by Mortgage Loan basis, for the purpose of justifying any withdrawal from the Collection Account pursuant to such clauses. Notwithstanding any other provision of this Servicing Agreement, the Servicer shall be entitled to reimburse itself for any previously unreimbursed expenses incurred pursuant to Section 3.07 or otherwise reimbursable pursuant to the terms of this Servicing Agreement that the Servicer determines to be otherwise nonrecoverable (except with respect to any Mortgage Loan as to which the Repurchase Price has been paid), by withdrawal from the Collection Account of amounts on deposit therein attributable to the Mortgage Loans on any Business Day prior to the Payment Date succeeding the date of such determination.