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.
Application of Funds in the Collection Account The Master Servicer may, from time to time, make, or cause to be made, withdrawals from the Collection Account for the following purposes: (i) to reimburse itself or any Servicer for Advances made by it or by such Servicer pursuant to Section 5.04 or the applicable Servicing Agreement; provided, however, that the Master Servicer’s right to reimburse itself pursuant to this subclause is limited to amounts received on or in respect of particular Mortgage Loans (including, for this purpose, Liquidation Proceeds and amounts representing Insurance Proceeds with respect to the property subject to the related Mortgage) which represent late recoveries (net of the applicable Servicing Fee and the Master Servicing Fee) of payments of principal or interest respecting which any such Advance was made; provided, further, that following the final liquidation of a Mortgage Loan, the Master Servicer may reimburse itself for previously unreimbursed Advances in excess of Liquidation Proceeds or Insurance Proceeds with respect to such Mortgage Loans from any funds in the Collection Account, it being understood, in the case of any such reimbursement, that the Master Servicer’s or Servicer’s right thereto shall be prior to the rights of the Certificateholders; (ii) to reimburse itself or any Servicer for any Servicing Advances made by it or by such Servicer that it or such Servicer determines in good faith will not be recoverable from amounts representing late recoveries of payments of principal or interest respecting the particular Mortgage Loan as to which such Servicing Advance was made or from Liquidation Proceeds or Insurance Proceeds with respect to such Mortgage Loan, it being understood, in the case of any such reimbursement, that such Master Servicer’s or Servicer’s right thereto shall be prior to the rights of the Certificateholders; (iii) to reimburse itself or any Servicer from Liquidation Proceeds for Liquidation Expenses and for amounts expended by it pursuant to Sections 9.20 and 9.22(a) or the applicable Servicing Agreement in good faith in connection with the restoration of damaged property and, to the extent that Liquidation Proceeds after such reimbursement exceed the unpaid principal balance of the related Mortgage Loan, together with accrued and unpaid interest thereon at the applicable Mortgage Rate less the applicable Servicing Fee and the Master Servicing Fee for such Mortgage Loan to the Due Date next succeeding the date of its receipt of such Liquidation Proceeds, to pay to itself out of such excess the amount of any unpaid assumption fees, late payment charges or other Mortgagor charges on the related Mortgage Loan and to retain any excess remaining thereafter as additional servicing compensation, it being understood, in the case of any such reimbursement or payment, that such Master Servicer’s or Servicer’s right thereto shall be prior to the rights of the Certificateholders; (iv) to reimburse itself or any Servicer for expenses incurred by and recoverable by or reimbursable to it or such Servicer pursuant to Section 9.04, 9.05, 9.06, 9.16 or 9.22(a) or pursuant to the applicable Servicing Agreement, and to reimburse itself for any expenses reimbursable to it pursuant to Section 10.01(c); (v) to pay to the applicable Person, with respect to each Mortgage Loan or REO Property acquired in respect thereof that has been repurchased by such Person pursuant to this Agreement, all amounts received thereon and not distributed on the date on which the related repurchase was effected; (vi) subject to Section 5.05, to pay to itself income earned on the investment of funds deposited in the Collection Account; (vii) to make payments to the Trustee for deposit into the Certificate Account in the amounts and in the manner provided for in Section 4.01(c); (viii) to make distributions of any Retained Interest to the Retained Interest Holder on each Distribution Date (other than any Retained Interest not deposited into the Collection Account in accordance with Section 4.01(d)(iii)); (ix) to make payment to itself, the Trustee and others pursuant to any provision of this Agreement; (x) to withdraw funds deposited in error in the Collection Account; (xi) to clear and terminate the Collection Account pursuant to Section 7.02; (xii) to reimburse a successor Master Servicer (solely in its capacity as successor Master Servicer), for any fee or advance occasioned by a termination of the Master Servicer, and the assumption of such duties by the Trustee or a successor Master Servicer appointed by the Trustee pursuant to Section 6.14, in each case to the extent not reimbursed by the terminated Master Servicer, it being understood, in the case of any such reimbursement or payment, that the right of the Master Servicer or the Trustee thereto shall be prior to the rights of the Certificateholders; and (xiii) to reimburse any Servicer for such amounts as are due thereto under the applicable Servicing Agreement and have not been retained by or paid to such Servicer to the extent provided in such Servicing Agreement. If provided in the related Servicing Agreement, each Servicer shall be entitled to retain as additional servicing compensation any Prepayment Interest Excess (to the extent not offset by Prepayment Interest Shortfalls). In the event that the Master Servicer fails on any Deposit Date to remit to the Trustee any amounts required to be so remitted to the Trustee pursuant to subclause (vii) by 12 noon (New York time) on such date, the Master Servicer shall pay the Trustee, for the account of the Trustee, interest calculated at the “prime rate” (as published in the “Money Rates” section of The Wall Street Journal) on such amounts not timely remitted for the period from and including that Deposit Date to but not including the related Distribution Date. In connection with withdrawals pursuant to subclauses (i), (iii), (iv) and (vi) above, the Master Servicer’s or Servicer’s entitlement thereto is limited to collections or other recoveries on the related Mortgage Loan, except as provided herein. The Master Servicer shall therefore keep and maintain a separate accounting for each Mortgage Loan it master services for the purpose of justifying any withdrawal from the Collection Account it maintains pursuant to subclauses (i), (iii), (iv) and (vi) above.
Application of Amounts in Trust Accounts (a) For so long as any Notes are outstanding, on each Payment Date, the Indenture Trustee will distribute to the Certificateholders, on a pro rata basis, based on the Percentage Interests thereof, the amounts distributable thereto pursuant to Section 5.06 of the Sale and Servicing Agreement and Section 3.01 of the Indenture. From and after the date on which the Notes of all Classes have been paid in full, the Paying Agent shall distribute to the Certificateholders (i) amounts released to the Trust pursuant to Sections 4.02 and 8.05(b) of the Indenture and Section 5.01(d) of the Sale and Servicing Agreement and (ii) amounts that are distributable to the Certificateholders in accordance with the instructions of the Servicer pursuant to Section 5.06 of the Sale and Servicing Agreement. (b) On each Payment Date, the Owner Trustee shall send to the Certificateholders the statement provided to the Owner Trustee by the Servicer pursuant to Section 5.09 of the Sale and Servicing Agreement with respect to such Payment Date. (c) In the event that any withholding tax is imposed on the Trust’s distributions (or allocations of income) to a Certificateholder, such tax shall reduce the amount otherwise distributable to the Certificateholders in accordance with this Section. The Owner Trustee and Paying Agent (and the Indenture Trustee, to the extent the Indenture Trustee is then making distributions to Certificateholders) are hereby authorized and directed to retain from amounts otherwise distributable to the Certificateholders sufficient funds for the payment of any tax that is legally owed by the Trust (but such authorization shall not prevent the Owner Trustee from contesting any such tax in appropriate proceedings, and withholding payment of such tax, if permitted by law, pending the outcome of such proceedings). The amount of any withholding tax imposed with respect to a Certificateholder shall be treated as cash distributed to such Certificateholder at the time it is withheld by the Trust and remitted to the appropriate taxing authority. If there is a possibility that withholding tax is payable with respect to any distribution (such as any distribution to a Non-U.S. Person), in order to comply with applicable law, the Owner Trustee may, in its sole discretion and without liability, withhold such amounts in accordance with this paragraph (c). In the event that a Certificateholder wishes to apply for a refund of any such withholding tax, the Owner Trustee shall reasonably cooperate with such Certificateholder in making such claim so long as such Certificateholder agrees to reimburse the Owner Trustee for any out-of-pocket expenses incurred in connection therewith.
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.
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.
Application of Proceeds Subject to the terms of the First Lien Intercreditor Agreement and the Second Lien Intercreditor Agreement, in each case, if executed, any amount received by the Administrative Agent or the Collateral Agent from any Credit Party (or from proceeds of any Collateral) following any acceleration of the Obligations under this Agreement or any Event of Default with respect to the Borrower under Section 11.4 shall be applied: (i) first, to the payment of all reasonable and documented costs and expenses incurred by the Administrative Agent or the Collateral Agent in connection with any collection or sale of the Collateral or otherwise in connection with any Credit Document, including all court costs and the reasonable fees and expenses of its agents and legal counsel, the repayment of all advances made by the Administrative Agent or the Collateral Agent hereunder or under any other Credit Document on behalf of any Credit Party and any other reasonable and documented costs or expenses incurred in connection with the exercise of any right or remedy hereunder or under any other Credit Document to the extent reimbursable hereunder or thereunder; (ii) second, to the Secured Parties, an amount (x) equal to all Obligations owing to them on the date of any distribution and (y) sufficient to Cash Collateralize all Letters of Credit Outstanding on the date of any distribution, and, if such moneys shall be insufficient to pay such amounts in full and Cash Collateralize all Letters of Credit Outstanding, then ratably (without priority of any one over any other) to such Secured Parties in proportion to the unpaid amounts thereof and to Cash Collateralize the Letters of Credit Outstanding; and (iii) third, any surplus then remaining shall be paid to the applicable Credit Parties or their successors or assigns or to whomsoever may be lawfully entitled to receive the same or as a court of competent jurisdiction may direct; provided that any amount applied to Cash Collateralize any Letters of Credit Outstanding that has not been applied to reimburse the Borrower for Unpaid Drawings under the applicable Letters of Credit at the time of expiration of all such Letters of Credit shall be applied by the Administrative Agent in the order specified in clauses (i) through (iii) above. Notwithstanding the foregoing, amounts received from any Guarantor that is not an “Eligible Contract Participant” (as defined in the Commodity Exchange Act) shall not be applied to its Obligations that are Excluded Swap Obligations.
Application of Collections All collections for the Collection Period shall be applied by the Servicer as follows: (a) With respect to each Receivable (other than a Purchased Receivable or a Sold Receivable), payments by or on behalf of the Obligor, (other than Supplemental Servicing Fees with respect to such Receivable, to the extent collected) shall be applied to interest and principal in accordance with the Simple Interest Method. (b) All amounts collected that are payable to the Servicer as Supplemental Servicing Fees hereunder shall be deposited in the Collection Account and paid to the Servicer in accordance with Section 5.7(a).
Application of Net Liquidation Proceeds For all purposes under this agreement, Net Liquidation Proceeds received from a Servicer shall be allocated first to accrued and unpaid interest on the related Mortgage Loan and then to the unpaid principal balance thereof.
Application of Certain Mandatory Prepayments Any prepayments made by Borrower pursuant to Section 1.3(b)(iii) above, and any prepayments from insurance or condemnation proceeds in accordance with Section 5.4(c), shall be applied as follows: first, to Fees and reimbursable expenses of Agent then due and payable pursuant to any of the Loan Documents; second, to interest then due and payable on the Swing Line Loan; third, to the principal balance of the Swing Line Loan until the same has been repaid in full; fourth, to interest then due and payable on Revolving Credit Advances; fifth, to the principal balance of Revolving Credit Advances until the same has been paid in full; and sixth, to any Letter of Credit Obligations of Borrower to provide cash collateral therefor in the manner set forth in Annex B, until all such Letter of Credit Obligations have been fully cash collateralized in the manner set forth in Annex B. Neither the Revolving Loan Commitment nor the Swing Line Commitment shall be permanently reduced by the amount of any such prepayments. Any prepayments made by Borrower pursuant to Section 1.3(b)(iv) above shall be applied to the principal balance of outstanding Revolving Credit Advances and as a concurrent and permanent reduction of the Revolving Loan Commitment, pro rata among all Lenders.
Application of Funds After the exercise of remedies provided for in Section 8.02 (or after the Loans have automatically become immediately due and payable and the L/C Obligations have automatically been required to be Cash Collateralized as set forth in the proviso to Section 8.02), any amounts received on account of the Obligations, subject to the provisions of Sections 2.13 and 2.14, shall be applied by the Administrative Agent in the following order: First, to payment of that portion of the Obligations constituting fees, indemnities, expenses and other amounts (including fees, charges and disbursements of counsel to the Administrative Agent and amounts payable under Article III) payable to the Administrative Agent in its capacity as such; Second, to payment of that portion of the Obligations constituting fees, indemnities and other amounts (other than principal, interest and Letter of Credit Fees) payable to the Lenders and the L/C Issuer (including fees, charges and disbursements of counsel to the respective Lenders and the L/C Issuer and amounts payable under Article III), ratably among them in proportion to the amounts described in this clause Second payable to them; Third, to payment of that portion of the Obligations constituting accrued and unpaid Letter of Credit Fees and interest on the Loans and L/C Borrowings, ratably among the Lenders and the L/C Issuer in proportion to the respective amounts described in this clause Third held by them; Fourth, to (a) payment of that portion of the Obligations constituting unpaid principal of the Loans and L/C Borrowings and (b) Cash Collateralize that portion of L/C Obligations comprised of the aggregate undrawn amount of Letters of Credit, ratably among the Lenders and the L/C Issuer in proportion to the respective amounts described in this clause Fourth held by them; and Last, the balance, if any, after all of the Obligations have been paid in full, to the Borrower or as otherwise required by Law. Subject to Section 2.03(c) and Section 2.13, amounts used to Cash Collateralize the aggregate undrawn amount of Letters of Credit pursuant to clause Fourth above shall be applied to satisfy drawings under such Letters of Credit as they occur. If any amount remains on deposit as Cash Collateral after all Letters of Credit have either been fully drawn or expired, such remaining amount shall be applied to the other Obligations, if any, in the order set forth above.