Application of Payments and Proceeds Upon Default If an Event of Default has occurred and is continuing, Bank shall have the right to apply in any order any funds in its possession, whether from Borrower account balances, payments, proceeds realized as the result of any collection of Accounts or other disposition of the Collateral, or otherwise, to the Obligations. Bank shall pay any surplus to Borrower by credit to the Designated Deposit Account or to other Persons legally entitled thereto; Borrower shall remain liable to Bank for any deficiency. If Bank, directly or indirectly, enters into a deferred payment or other credit transaction with any purchaser at any sale of Collateral, Bank shall have the option, exercisable at any time, of either reducing the Obligations by the principal amount of the purchase price or deferring the reduction of the Obligations until the actual receipt by Bank of cash therefor.
Allocation of Payments After Event of Default Notwithstanding any other provisions of this Credit Agreement, after the occurrence and during the continuance of an Event of Default with respect to any Borrower, all amounts collected from such Borrower or received by the Administrative Agent or any Lender on account of amounts outstanding under any of the Credit Documents shall be paid over or delivered as follows: FIRST, to the payment of all reasonable out-of-pocket costs and expenses (including without limitation reasonable outside attorneys’ fees other than the fees of in-house counsel) of the Administrative Agent or any of the Lenders in connection with enforcing the rights of the Lenders under the Credit Documents against such Borrower and any protective advances made by the Administrative Agent or any of the Lenders, pro rata as set forth below; SECOND, to payment of any fees owed to the Administrative Agent or any Lender by such Borrower, pro rata as set forth below; THIRD, to the payment of all accrued interest payable to the Lenders by such Borrower hereunder, pro rata as set forth below; FOURTH, to the payment of the outstanding principal amount of the Loans or Letters of Credit outstanding of such Borrower, pro rata as set forth below; FIFTH, to all other obligations which shall have become due and payable of such Borrower under the Credit Documents and not repaid pursuant to clauses “FIRST” through “FOURTH” above; and SIXTH, the payment of the surplus, if any, to whoever may be lawfully entitled to receive such surplus. In carrying out the foregoing, (a) amounts received shall be applied in the numerical order provided until exhausted prior to application to the next succeeding category and (b) each of the Lenders shall receive an amount equal to its pro rata share (based on each Lender’s Commitment Percentages) of amounts available to be applied.
Prepayments After Default Following an Event of Default, if Borrower or anyone on Borrower's behalf makes a tender of payment of all or any portion of the Debt at any time prior to a foreclosure sale (including a sale under the power of sale under the Mortgage), or during any redemption period after foreclosure, (i) the tender of payment shall constitute an evasion of Borrower's obligation to pay any Prepayment Consideration due under this Agreement and such payment shall, therefore, to the maximum extent permitted by law, include a premium equal to the Prepayment Consideration that would have been payable on the date of such tender had the Loan not been so accelerated, or (ii) if at the time of such tender a prepayment of the principal amount of the Loan would have been prohibited under this Agreement had the principal amount of the Loan not been so accelerated, the tender of payment shall constitute an evasion of such prepayment prohibition and shall, therefore, to the maximum extent permitted by law, include an amount equal to the greater of (i) 1% of the then principal amount of the Loan (or the relevant portion thereof being prepaid) and (ii) an amount equal to the excess of (A) the sum of the present values of a series of payments payable at the times and in the amounts equal to the payments of principal and interest (including, but not limited to the principal and interest payable on the Maturity Date) which would have been scheduled to be payable after the date of such tender under this Agreement had the Loan (or the relevant portion thereof) not been accelerated, with each such payment discounted to its present value at the date of such tender at the rate which when compounded monthly is equivalent to the Prepayment Rate, over (B) the then principal amount of the Loan.
Post-Default Rate Notwithstanding the foregoing, if any principal of or interest on any Loan or any fee or other amount payable by the Borrower or any Guarantor hereunder or under any other Loan Document is not paid when due, whether at stated maturity, upon acceleration or otherwise, such overdue amount shall bear interest, after as well as before judgment, at a rate per annum equal to two percent (2%) plus the rate applicable to ABR Loans as provided in Section 3.02(a), but in no event to exceed the Highest Lawful Rate.
Realization Upon Defaulted Mortgage Loans (a) The Master Servicer shall, consistent with the Servicing Standard and the Loss Mitigation Action Plan, 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 pursuant to Section 3.02. The Master Servicer shall be responsible for all costs and expenses incurred by it in any such proceedings; provided, however, that such costs and expenses will be recoverable as Servicing Advances by the Master Servicer as contemplated in Section 3.05 and Section 3.13. The foregoing is subject to the provision that, in any case in which Mortgaged Property shall have suffered damage from an Uninsured Cause, the Master Servicer shall not be required to expend its own funds toward the restoration of such property unless it shall determine in its discretion that such restoration will increase the proceeds of liquidation of the related Mortgage Loan after reimbursement to itself for such expenses. (b) Notwithstanding the foregoing provisions of this Section 3.12 or any other provision of this Agreement, with respect to any Mortgage Loan as to which the Master Servicer has received actual notice of, or has actual knowledge of, the presence of any toxic or hazardous substance on the related Mortgaged Property, the Master Servicer shall not, on behalf of the Trustee, either (i) obtain title to such Mortgaged Property as a result of or in lieu of foreclosure or otherwise or (ii) otherwise acquire possession of, or take any other action with respect to, such Mortgaged Property, if, as a result of any such action, the Trustee, the Trust Fund or the Certificateholders would be considered to hold title to, to be a "mortgagee-in-possession" of, or to be an "owner" or "operator" of such Mortgaged Property within the meaning of the Comprehensive Environmental Response, Compensation and Liability Act of 1980, as amended from time to time, or any comparable law, unless the Master Servicer has also previously determined, based on its reasonable judgment and a report prepared by a Person who regularly conducts environmental audits using customary industry standards, that: (1) such Mortgaged Property is in compliance with applicable environmental laws or, if not, that it would be in the best economic interest of the Trust Fund to take such actions as are necessary to bring the Mortgaged Property into compliance therewith; and (2) there are no circumstances present at such Mortgaged Property relating to the use, management or disposal of any hazardous substances, hazardous materials, hazardous wastes, or petroleum-based materials for which investigation, testing, monitoring, containment, clean-up or remediation could be required under any federal, state or local law or regulation, or that if any such materials are present for which such action could be required, that it would be in the best economic interest of the Trust Fund to take such actions with respect to the affected Mortgaged Property. Notwithstanding the foregoing, if such environmental audit reveals, or if the Master Servicer has actual knowledge or notice, that such Mortgaged Property contains such toxic or hazardous wastes or substances, the Master Servicer shall not foreclose or accept a deed in lieu of foreclosure without the prior written consent of the NIMS Insurer. The cost of the environmental audit report contemplated by this Section 3.12 shall be advanced by the Master Servicer, subject to the Master Servicer's right to be reimbursed therefor from the Collection Account as provided in Section 3.05(a)(v), such right of reimbursement being prior to the rights of Certificateholders to receive any amount in the Collection Account received in respect of the affected Mortgage Loan or other Mortgage Loans. If the Master Servicer determines, as described above, that it is in the best economic interest of the Trust Fund to take such actions as are necessary to bring any such Mortgaged Property into compliance with applicable environmental laws, or to take such action with respect to the containment, clean-up or remediation of hazardous substances, hazardous materials, hazardous wastes or petroleum-based materials affecting any such Mortgaged Property, then the Master Servicer shall take such action as it deems to be in the best economic interest of the Trust Fund. The cost of any such compliance, containment, cleanup or remediation shall be advanced by the Master Servicer, subject to the Master Servicer's right to be reimbursed therefor from the Collection Account as provided in Section 3.05(a)(v), such right of reimbursement being prior to the rights of Certificateholders to receive any amount in the Collection Account received in respect of the affected Mortgage Loan or other Mortgage Loans. (c) Proceeds received in connection with any Final Recovery Determination, as well as any recovery resulting from a partial collection of Insurance Proceeds or Liquidation Proceeds, in respect of any Mortgage Loan, will be applied in the following order of priority: FIRST, to reimburse the Master Servicer or any Sub-Servicer for any related unreimbursed Servicing Advances and Advances, pursuant to Section 3.05(a)(ii); SECOND, to accrued and unpaid interest on the Mortgage Loan, to the date of the Final Recovery Determination, or to the Due Date prior to the Distribution Date on which such amounts are to be distributed if not in connection with a Final Recovery Determination; and THIRD, as a recovery of principal of the Mortgage Loan. If the amount of the recovery so allocated to interest is less than the full amount of accrued and unpaid interest due on such Mortgage Loan, the amount of such recovery will be allocated by the Master Servicer as follows: FIRST, to unpaid Servicing Fees; and SECOND, to the balance of the interest then due and owing. The portion of the recovery so allocated to unpaid Servicing Fees shall be reimbursed to the Master Servicer or any Sub-Servicer pursuant to Section 3.05(a)(ii).