OPINION
Indiana Gaming Company, L.P. (“Indiana Gaming”) and Cultural Resource Analysts, Inc. (“CRA”) bring this interlocutory appeal challenging the denial of their motions to dismiss the breach of contract action brought by James Blevins, Aan Harris, and Daniel J. Keane (together referred to as the “Archaeologists”) and United Archaeological Field Technicians International Union of Operating Engineers, Local 141 (the “Union”). The parties raise a number of issues that we consolidate and restate as whether the Archaeologists and the Union (together referred to as the “Technicians”) are third-party beneficiaries who can bring an action to enforce the terms of a contract between Indiana Gaming and the City of Lawrenceburg.
We reverse.
FACTS AND PROCEDURAL HISTORY
The City of Lawrenceburg (the “City”) and Indiana Gaming entered into a contract to develop and operate a riverboat gaming operation in Lawrenceburg, Indiana. Included in the original contract and a second amendment (together referred to as the “Agreement”) is language setting forth: (1) guidelines for the wages to be paid to laborers and mechanics- of contractors, the construction manager, and subcontractors under the Agreement; and (2) that there shall be no third-party beneficiaries to the Agreement.
In connection with the development of the gaming operation, CRA served as a contractor for Indiana Gaming and hired the Archaeologists to perform services required for environmental compliance under the Agreement. The Archaeologists were paid $9.00 per hour, and $13.50 per hour for time worked in excess of forty hours per week. The Technicians allege that under the Agreement the Archaeologists should have been paid $18.00 per hour and $27.00 per hour, plus a fringe benefit, for time worked in excess of forty hours per week. CRA, the Archaeologists, and the Union are not parties to the Agreement.
The Technicians filed a four count, class action complaint for declaratory judgment, breach of contract, negligence, and constructive fraud against Indiana Gaming and CRA. Only the first two counts are directed at CRA. CRA and Indiana Gaming each filed a motion to dismiss for failure to state a claim upon which relief can be granted. The trial court held a hearing and denied both motions to dismiss. The trial court certified its- order as appealable and stayed the trial court proceedings to permit appeal. Our court granted jurisdiction.
*277 DISCUSSION AND DECISION
A. Standard of Review
A motion to dismiss for failure to state a claim under Indiana Trial Rule 12(B)(6) tests the legal sufficiency of a complaint.
City of Anderson v. Weatherford,
B. Third-Party Beneficiaries
The Technicians seek to enforce wage provisions in the Agreement. Generally, only those who are parties to a contract or those in privity with a party have the right to enforce the contract.
OEC-Diasonics, Inc. v. Major,
(1) A clear intent by the actual parties to the Agreement to benefit the Technicians;
(2) A duty imposed on one of the contracting parties in favor of the Technicians; and
(3) Performance of the Agreement terms is necessary to render the Technicians a direct benefit intended by the parties to the Agreement.
Barth Elec.,
The Technicians point to Section 5.21(b) to support their argument that they are intended third-party beneficiaries under the Agreement. In the original Agreement, Section 5.21(b) (titled “Labor Objectives”) provides:
“(b) There shall be paid each laborer or mechanic of the Contractor, Construction Manager or Subcontractor engaged in Work under this Agreement a wage equal to the union contract wage in the Lawrenceburg area existing on the date of the issuance of the License, regardless of any contractual relationship which may be alleged to exist between the Contractor, Construction Manager or Subcontractor and such laborers or mechanics.”
Record at 56. 1 Indiana Gaming and CRA point to Section 15.21 to support their *278 argument that the Technicians cannot be third-party beneficiaries under the Agreement. Section 15.21 provides:
“Section 15.21. No Third-Party Beneficiaries. Nothing in this Agreement shall be construed as creating any rights or entitlement that inure to the benefit of any person or entity not a party of this Agreement (except Guarantor).”
Record at 85. 2
Unless the terms of a contract are ambiguous, they will be given their plain and ordinary meaning.
Kiltz v. Kiltz,
Section 15.21 states, “Nothing in this Agreement shall be construed as creating any rights or entitlement that inure to the benefit of any person or entity not a party of this Agreement (except Guarantor).” This language clearly and unambiguously precludes the Technicians from being third-party beneficiaries under the Agreement.
(See Talman Home Fed. Sav. & Loan Ass’n of Illinois v. American Bankers Ins.,
When interpreting a contract, the contract must be read as a whole and the court should accept an interpretation of the contract that harmonizes its provisions.
OEC-Diasonics,
We find that under the terms of the Agreement, the Technicians are not third-party beneficiaries. Being unable to proceed as third-party beneficiaries, the Technicians’ allegations present no possible set of facts upon which they can recover. It is proper to grant Indiana Gaming’s and CRA’s motions to dismiss.
Reversed.
Notes
. Section 5.21(b) was amended in the second amendment, deleting the existing language and inserting the following:
"(b) There shall be paid each laborer or mechanic of the Contractor, Construction Manager or Subcontractor engaged in Work under this Agreement a wage not less than the prevailing wages in the Lawrence-burg area according to the prevailing wage schedule established by the State of Indiana and existing on the date thirty (30) days prior to the date on which the contract for such Work is released for bid (the "Wage Date”), regardless of any contractual rela *278 tionship which may be alleged to exist between the Contractor, Construction Manager or Subcontractor and such laborers or mechanics; provided, however, all contracts bid prior to July 15, 1996, are deemed approved as to wage rates contained in said bid packages, provided the wage rates are paid by the contractors performing said work. If the contract is not awarded within ninety (90) days of the Wage Date, new prevailing wage rates shall be required and shall be such prevailing wage rates in effect on a date not more than thirty (30) days before the date of award of the contract.”
Record at 114.
. The second amendment, although not amending Section 15.21, contained the following language concerning third-party beneficiaries:
"Section 4.04. No Third-Party Beneficiaries. Nothing in this Amendment shall be construed as creating any rights or entitlements that inure to the benefit of any person or entity not a party to this Amendment (except Guarantor).”
Record at 119.
