If an Event of Default occurs and is continuing, then and in every such case the Agent shall, at the request of, or may, with the consent of, the Required Lenders (i) declare the Commitment of each Lender to make Loans to be terminated whereupon such Commitments and obligation shall be terminated, and (ii) declare the unpaid principal of all outstanding Loans, any and all accrued and unpaid interest, any accrued and unpaid Commitment Fees, or any other amounts owing or payable under the Notes, if any, to be immediately due and payable, by a notice in writing to the Borrower, and upon such declaration such principal, interest, Commitment Fees, or other amounts payable hereunder and accrued thereon shall become immediately due and payable, together with any funding losses that may result as a consequence of such declaration, without presentment, demand, protest or other notice of any kind, all of which are expressly waived by the Borrower; provided ,   however , that in the case of any of the Events of Default specified in subsection (f) or (g) of Section  8.1 , automatically without any notice to the Borrower or any other act by the Agent, the Credit and the obligations of each Lender to make Loans shall automatically terminate and the unpaid principal amount of all outstanding Loans, any accrued and unpaid interest, any accrued and unpaid Commitment Fees or any other amounts payable hereunder shall become immediately due and payable, together with any funding losses that may result as a consequence thereof, without further act of the Agent or any Lender and without presentment, demand, protest or other notice of any kind, all of which are expressly waived by the Borrower.