1 EXHIBIT 4.5(d) FOURTH AMENDMENT TO THIRD AMENDED AND RESTATED CREDIT AGREEMENT This FOURTH AMENDMENT (this "Amendment") is entered into as of April 3, 1998, among IDEX Corporation, a Delaware corporation (the "Company"), the several financial institutions from time to time party to the Credit Agreement (as defined herein) (collectively, the "Banks"; individually, a "Bank"), and Bank of America National Trust and Savings Association, as successor by merger to Bank of America Illinois, as agent for the Banks. BACKGROUND WHEREAS, the Company, the Banks and the Agent have entered into that certain Third Amended and Restated Credit Agreement dated as of July 17, 1996 (as the same may be further amended or modified from time to time, the "Credit Agreement") and the Loan Documents referred to in the Credit Agreement; WHEREAS, the Company, the Banks and the Agent have determined that the Credit Agreement should be amended in certain respects and to make certain other changes agreed to by the parties. NOW, THEREFORE, the parties hereto hereby agree as follows: 1. Definitions. Capitalized terms used but not otherwise defined herein shall have the meanings ascribed to such terms in the Credit Agreement. 2. Certain Amendments to Credit Agreement. The Credit Agreement is hereby amended, effective on the date this Amendment becomes effective in accordance with Section 3 hereof, as follows: 2.1 Subsection 7.01 (c) of the Credit Agreement is hereby amended by deleting it in its entirety and inserting the following in lieu thereof: "(c) as soon as available, but not later than 90 days after the end of each fiscal year, a copy of an unaudited consolidating statement of income of the Company and its Subsidiaries as at the end of such year and the related shareholders' equity and cash flows for such year, certified by a Responsible Officer as having been developed and used in connection with the preparation of the financial statements referred to in subsection 7.01(a);" 2.2 Section 8.14 of the Credit Agreement is hereby amended by deleting the words "or any other agreement evidencing Subordinated Debt" found in the second parenthetical to such section. 2.3 Subsection 8.16 (b) of the Credit Agreement is hereby amended by deleting the term "70%" and inserting "65%" in lieu thereof. 2 2.4 Subsection 8.16 (c) of the Credit Agreement is hereby amended by deleting the table found therein in its entirety and inserting the following in lieu thereof: PERIOD MAXIMUM RATIO - --------------------- ------------- Closing Date - 4/3/98 3.50 to 1.0 4/3/98 and thereafter 3.00 to 1.0 2.5 Schedule 2.01 of the Credit Agreement is hereby amended by deleting it in its entirety and replacing it with the Schedule 2.01 attached hereto. 3. Conditions to Effectiveness of this Amendment. This Amendment shall become effective upon the satisfaction of the following conditions (the "Effective Date"): 3.1 Executed Amendment. Receipt by the Agent of duly executed counterparts of this Amendment from the Company and the Banks; 3.2 New Bank of America Note. Receipt by Bank of America NT & SA of a duly executed Amended and Restated Promissory Note in the amount of $66,000,000.00 in replacement of the existing Amended and Restated Promissory Note in the amount of $81,000,000.00; and 3.3 Miscellaneous. Receipt by the Agent of such other documents, certificates, instruments or opinions as may reasonably be requested by it. 4. Payments Among Banks Due to Reduction in Total Commitment. (a) On the Effective Date, each Bank other than Bank of America National Trust & Savings Association (each individually an "Other Bank", and collectively the "Other Banks") shall pay Bank of America National Trust & Savings Association (the "Decreasing Bank") an amount equal to the product of (i) the sum of the principal amount of all Base Rate Loans and L/C Obligations outstanding on the Effective Date and (ii) the difference between (A) each Other Bank's respective post-Effective Date Pro Rata Share and (B) each Other Bank's respective pre-Effective Date Pro Rata Share; and (b) on and after the Effective Date, all Other Banks shall pay, on the last day of each Interest Period for any Offshore Rate Loans which are outstanding on the Effective Date, the Decreasing Bank an amount equal to the product of (i) the sum of principal amount of such Offshore Rate Loan on the last day of its Interest Period and (ii) the difference between (A) each Other Bank's respective post-Effective Date Pro Rata Share and (B) each Other Bank's respective pre-Effective Date Pro Rata Share. After the Effective Date, all new Loans shall be funded and paid at the new Pro Rata Share amounts. 5. Certain Representations and Warranties by the Company. In order to induce the Banks and the Agent to enter into this Amendment, the Company represents and warrants to the 3 Banks and the Agent that: 5.1 Authority. The Company has the right, power and capacity and has been duly authorized and empowered by all requisite corporate and shareholder action to enter into, execute, deliver and perform this Amendment and the Credit Agreement as amended hereby. 5.2 Validity. This Amendment and the Credit Agreement as amended hereby have each been duly and validly executed and delivered by the Company and constitutes its legal, valid and binding obligations, enforceable against the Company in accordance with its respective terms, except as enforcement thereof may be subject to the effect of any applicable bankruptcy, insolvency, reorganization, moratorium or similar laws affecting creditors' rights generally and general principles of equity (regardless of whether such enforcement is sought in a proceeding in equity or at law or otherwise). 5.3 No Conflicts. The Company's execution, delivery and performance of this Amendment and the Credit Agreement as amended hereby does not and will not violate its Certificates or Articles of Incorporation or Bylaws, any law, rule, regulation, order, writ, judgment, decree or award applicable to the Company or any contractual provision to which the Company is party or to which the Company or any of its Subsidiaries are subject. 5.4 Approvals. No authorization or approval or other action by, and no notice to or filing or registration with, any Governmental Authority or regulatory body (other than those which have been obtained and are in force and effect) is required in connection with the Company's execution, delivery and performance of this Amendment and the Credit Agreement as amended hereby. 5.5 Incorporated Representations and Warranties. All representations and warranties contained in the Loan Documents are true and correct in all material respects with the same effect as though such representations and warranties had been made on and as of the date hereof and the effective date hereof, except as to any representations or warranties which expressly relate to an earlier date, in which event, such representations and warranties are true as of such date. 5.6 No Defaults. No Default or Event of Default exists as of the date hereof or will exist after giving effect to this Amendment. 6. Miscellaneous. The parties hereto hereby further agree as follows: 6.1 Further Assurances. Each of the parties hereto hereby agrees to do such further acts and things and to execute, deliver and acknowledge such additional agreements, powers and instruments as any other party hereto may reasonably require to carry into effect the purposes of this Amendment and the Credit Agreement as amended hereby. 6.2 Counterparts. This Amendment may be executed in one or more counterparts, 4 each of which, when executed and delivered, shall be deemed to be an original and all of which counterparts, taken together, shall constitute but one and the same document with the same force and effect as if the signatures of all of the parties were on a single counterpart, and it shall not be necessary in making proof of this Amendment to produce more than one such counterpart. 6.3 Headings. Headings used in this Amendment are for convenience of reference only and shall not affect the construction of this Amendment. 6.4 Integration. This Amendment and the Loan Documents constitute the entire agreement among the parties hereto with respect to the subject matter hereof and thereof. 6.5 Governing Law. THIS AMENDMENT SHALL BE DEEMED TO BE A CONTRACT MADE UNDER THE LAWS OF THE STATE OF ILLINOIS, AND FOR ALL PURPOSES SHALL BE GOVERNED BY AND CONSTRUED AND ENFORCED IN ACCORDANCE WITH THE INTERNAL LAWS AND DECISIONS OF SAID STATE, WITHOUT REGARD TO PRINCIPLES OF CONFLICTS OF LAWS. 6.6 Binding Effect. This Amendment shall be binding upon and inure to the benefit of and be enforceable by the parties hereto and their respective successors and assigns; provided, however, that the Company may not assign or transfer its rights, interests or obligations hereunder without the prior written consent of the Agent and all of the Banks. Except as expressly set forth to the contrary herein, this Amendment shall not be construed so as to confer any right or benefit upon any Person other than the parties to this Amendment and their respective successors and permitted assigns. 6.7 Amendment; Waiver; Reaffirmation of Loan Documents. The parties hereto agree and acknowledge that nothing contained in this Amendment in any manner or respect limits or terminates any of the provisions of the Credit Agreement or the other Loan Documents other than as expressly set forth herein and further agree and acknowledge that the Credit Agreement and each of the other Loan Documents remain and continue in full force and effect and are hereby ratified and reaffirmed in all respects. No delay on the part of any Bank or the Agent in exercising any of their respective rights, remedies, powers and privileges under the Credit Agreement or any of the other Loan Documents or partial or single exercise thereof, shall constitute a waiver thereof. None of the terms and conditions of this Amendment may be changed, waived, modified or varied in any manner, whatsoever, except in accordance with Section 11.01 of the Credit Agreement. 6.8 Reference to and Effect on the Credit Agreement and the other Loan Documents. Upon the effectiveness hereof, each reference in the Credit Agreement to "this Agreement," "hereunder," "hereof," "herein," or words of like import referring to the Credit Agreement and each reference in the other Loan Documents to the "Credit Agreement," "thereunder," "thereof," or words of like import referring to the Credit Agreement shall mean and be a reference to the Credit Agreement as amended by this Amendment. The Credit Agreement shall be deemed to be 5 amended wherever and as necessary to reflect the foregoing amendments. [SIGNATURE PAGE FOLLOWS] 6 IN WITNESS WHEREOF, this Amendment has been duly executed and delivered as of the date first above written. IDEX CORPORATION By:________________________ Title:_____________________ BANK OF AMERICA NATIONAL TRUST AND SAVINGS ASSOCIATION, AS AGENT By:________________________ Title:_____________________ 7 BANK OF AMERICA NATIONAL TRUST AND SAVINGS ASSOCIATION, AS A BANK By:________________________ Title:_____________________ 8 NATIONAL CITY BANK By:________________________ Title:_____________________ 9 PNC BANK, NATIONAL ASSOCIATION By:________________________ Title:_____________________ 10 UNION BANK OF CALIFORNIA, N.A., (SUCCESSOR IN INTEREST TO UNION BANK) By:________________________ Title:_____________________ 11 U.S. BANK NATIONAL ASSOCIATION, (SUCCESSOR IN INTEREST TO UNITED STATES NATIONAL BANK OF OREGON) By:________________________ Title:_____________________ 12 THE HARRIS TRUST AND SAVINGS BANK CO. By:________________________ Title:_____________________ 13 SCHEDULE 2.01 COMMITMENTS AND PRO RATA SHARES Pro Rata Bank Commitment Share ---- ------------ ------------ Bank of America NT & SA $66,000,000 28.08510638% PNC Bank, National Association 40,000,000 17.02127660% The Harris Trust and Savings Bank Co. 33,000,000 14.04255319% Union Bank of California, N.A. 33,000,000 14.04255319% U.S. Bank National Association 33,000,000 14.04255319% National City Bank 30,000,000 12.76595745% ------------ ------------ TOTAL $235,000,000 100%