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 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.
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 of Collateral Except as provided in subsection 2.4B(iii)(a) with respect to prepayments from Net Asset Sale Proceeds, all proceeds received by Administrative Agent in respect of any sale of, collection from, or other realization upon all or any part of the Collateral under any Collateral Document may, in the discretion of Administrative Agent, be held by Administrative Agent as Collateral for, and/or (then or at any time thereafter) applied in full or in part by Administrative Agent against, the applicable Secured Obligations (as defined in such Collateral Document) in the following order of priority: (a) To the payment of all costs and expenses of such sale, collection or other realization, including reasonable compensation to Administrative Agent and its agents and counsel, and all other expenses, liabilities and advances made or incurred by Administrative Agent in connection therewith, and all amounts for which Administrative Agent is entitled to indemnification under such Collateral Document and all advances made by Administrative Agent thereunder for the account of the applicable Loan Party, and to the payment of all costs and expenses paid or incurred by Administrative Agent in connection with the exercise of any right or remedy under such Collateral Document, all in accordance with the terms of this Agreement and such Collateral Document; (b) thereafter, to the extent of any excess such proceeds, to the payment of all other such Secured Obligations for the ratable benefit of the holders thereof; and (c) thereafter, to the extent of any excess such proceeds, to the payment to or upon the order of such Loan Party or to whosoever may be lawfully entitled to receive the same or as a court of competent jurisdiction may direct.
Withdrawals from the Collection Account and Distribution Account (a) The Master Servicer shall, from time to time, make withdrawals from the Collection Account for any of the following purposes or as described in Section 4.04: (i) to remit to the Trustee for deposit in the Distribution Account the amounts required to be so remitted pursuant to Section 3.10(b) or permitted to be so remitted pursuant to the first sentence of Section 3.10(d); (ii) subject to Section 3.16(d), to reimburse the Master Servicer for (a) any unreimbursed Advances to the extent of amounts received which represent Late Collections (net of the related Servicing Fees) of Monthly Payments, Liquidation Proceeds and Insurance Proceeds on Mortgage Loans with respect to which such Advances were made in accordance with the provisions of Section 4.04; (b) any unreimbursed Advances with respect to the final liquidation of a Mortgage Loan that are Nonrecoverable Advances, but only to the extent that Late Collections, Liquidation Proceeds and Insurance Proceeds received with respect to such Mortgage Loan are insufficient to reimburse the Master Servicer for such unreimbursed Advances; or (c) subject to Section 4.04(b), any unreimbursed Advances to the extent of funds held in the Collection Account for future distribution that were not included in Available Funds for the preceding Distribution Date; (iii) subject to Section 3.16(d), to pay the Master Servicer or any Sub-Servicer (a) any unpaid Servicing Fees, (b) any unreimbursed Servicing Advances with respect to each Mortgage Loan, but only to the extent of any Late Collections, Liquidation Proceeds, Insurance Proceeds and condemnation proceeds received with respect to such Mortgage Loan, and (c) any Servicing Advances with respect to the final liquidation of a Mortgage Loan that are Nonrecoverable Advances, but only to the extent that Late Collections, Liquidation Proceeds and Insurance Proceeds received with respect to such Mortgage Loan are insufficient to reimburse the Master Servicer or any Sub-Servicer for Servicing Advances; (iv) to pay to the Master Servicer as servicing compensation (in addition to the Servicing Fee) on the Master Servicer Remittance Date any interest or investment income earned on funds deposited in the Collection Account; (v) to pay to the Originator, with respect to each Mortgage Loan that has previously been purchased or replaced pursuant to Section 2.03 or Section 3.16(c) all amounts received thereon subsequent to the date of purchase or substitution, as the case may be; (vi) to reimburse the Master Servicer for any Advance or Servicing Advance previously made which the Master Servicer has determined to be a Nonrecoverable Advance in accordance with the provisions of Section 4.04; (vii) to pay, or to reimburse the Master Servicer for Servicing Advances in respect of, expenses incurred in connection with any Mortgage Loan pursuant to Section 3.16(b); (viii) to reimburse the Master Servicer for expenses incurred by or reimbursable to the Master Servicer pursuant to Section 6.03; (ix) to reimburse the NIMS Insurer, the Master Servicer (if the Master Servicer is not an Affiliate of the Originator) or the Trustee, as the case may be, for enforcement expenses reasonably incurred in respect of the breach or defect giving rise to the purchase obligation under Section 2.03 of this Agreement that were included in the Purchase Price of the Mortgage Loan, including any expenses arising out of the enforcement of the purchase obligation;
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.
Investment of Funds in the Collection Account and the Distribution Account (a) The Master Servicer may direct any depository institution maintaining the Collection Account and any REO Account (for purposes of this Section 3.12, an “Investment Account”), and the Trustee, in its individual capacity, may direct any depository institution maintaining the Distribution Account (for purposes of this Section 3.12, the Distribution Account is also an “Investment Account”), to invest the funds in such Investment Account in one or more Permitted Investments bearing interest or sold at a discount, and maturing, unless payable on demand, (i) no later than the Business Day immediately preceding the date on which such funds are required to be withdrawn from such account pursuant to this Agreement, if a Person other than the Trustee is the obligor thereon and (ii) no later than the date on which such funds are required to be withdrawn from such account pursuant to this Agreement, if the Trustee is the obligor thereon. All such Permitted Investments shall be held to maturity, unless payable on demand. Any investment of funds in an Investment Account shall be made in the name of the Trustee (in its capacity as such), or in the name of a nominee of the Trustee. The Trustee shall be entitled to sole possession (except with respect to investment direction of funds held in the Collection Account and any REO Account and any income and gain realized thereon) over each such investment, and any certificate or other instrument evidencing any such investment shall be delivered directly to the Trustee or its agent, together with any document of transfer necessary to transfer title to such investment to the Trustee or its nominee. In the event amounts on deposit in an Investment Account are at any time invested in a Permitted Investment payable on demand, the Trustee shall:
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).
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.
Collection Account (a) On behalf of the Trustee, the Servicer shall establish and maintain, or cause to be established and maintained, one or more segregated Eligible Accounts (such account or accounts, the “Collection Account”), held in trust for the benefit of the Trustee. On behalf of the Trustee, the Servicer shall deposit or cause to be deposited in the clearing account (which account must be an Eligible Account) in which it customarily deposits payments and collections on mortgage loans in connection with its mortgage loan servicing activities on a daily basis, and in no event more than one Business Day after the Servicer’s receipt thereof, and shall thereafter deposit into the Collection Account, in no event more than two Business Days after the deposit of such funds into the clearing account, as and when received or as otherwise required hereunder, the following payments and collections received or made by it subsequent to the Cut-off Date (other than in respect of principal or interest on the related Mortgage Loans due on or before the Cut-off Date), or payments (other than Principal Prepayments) received by it on or prior to the Cut-off Date but allocable to a Due Period subsequent thereto: (i) all payments on account of principal, including Principal Prepayments, on the Mortgage Loans; (ii) all payments on account of interest (net of the related Servicing Fee) on each Mortgage Loan; (iii) all Insurance Proceeds and Condemnation Proceeds to the extent such Insurance Proceeds and Condemnation Proceeds are not to be applied to the restoration of the related Mortgaged Property or released to the related Mortgagor in accordance with the express requirements of law or in accordance with Accepted Servicing Practices, Liquidation Proceeds and Subsequent Recoveries; (iv) any amounts required to be deposited pursuant to Section 3.12 in connection with any losses realized on Permitted Investments with respect to funds held in the Collection Account; (v) any amounts required to be deposited by the Servicer pursuant to the second paragraph of Section 3.13(a) in respect of any blanket policy deductibles; (vi) all proceeds of any Mortgage Loan repurchased or purchased in accordance with this Agreement; and (vii) all Prepayment Charges collected by the Servicer. The foregoing requirements for deposit in the Collection Account shall be exclusive, it being understood and agreed that, without limiting the generality of the foregoing, payments in the nature of late payment charges, NSF fees, reconveyance fees, assumption fees and other similar fees and charges need not be deposited by the Servicer in the Collection Account and shall, upon collection, belong to the Servicer as additional compensation for its servicing activities. In the event the Servicer shall deposit in the Collection Account any amount not required to be deposited therein, it may at any time withdraw such amount from the Collection Account, any provision herein to the contrary notwithstanding. (b) Funds in the Collection Account may be invested in Permitted Investments in accordance with the provisions set forth in Section 3.12. The Servicer shall give notice to the Securities Administrator, the Master Servicer, the Trustee and the Depositor of the location of the Collection Account maintained by it when established and prior to any change thereof.