delivered the opinion of the court:
Plaintiff, St. Paul Insurance Company of Illinois (St. Paul), and defendant and counterplaintiff, P.D.C. Facilities, Inc. (P.D.C.), filed separate appeals from a trial court order which dismissed the counts in St. Paul’s multicount complaint against defendants, the estate of Robert Venute, Jr., d/b/a Bob Venute Plumbing (Venute), and Walton Services Inc. (Walton), and also dismissed all counterclaims by codefendants. We consolidated the appeals.
St. Paul, as subrogee of the Greenberg Radiology Institute (Green-berg), filed a fourth amended complaint (complaint) containing seven counts. Counts I through V were directed against P.D.C. and Alfred Caminata, Jr., d/b/a R.J.’s Westside Demo, Inc. (Westside), and sounded in negligence, res ipso loquitur, and breach of contract. Count VI of the complaint was directed against Walton and sounded in negligence. Count VII of the complaint was directed against Venute and sounded in negligence.
P.D.C. filed separate amended counterclaims against Walton and Venute. The counterclaims sought contribution from Walton and Venute in the event P.D.C. was held liable to St. Paul.
Walton and Venute each motioned to dismiss the counts of St. Paul’s complaint against them pursuant to section 2 — 615 of the Code of Civil Procedure (Code) (735 ILCS 5/2—615 (West 1994)). On September 8, 1994, the trial court entered an order granting the motions and dismissing counts VI and VII of the complaint. The order stated that the court found, as a matter of law, that St. Paul’s complaint contained insufficient allegations to establish a duty owed by either Walton or Venute to St. Paul. The order also dismissed "[a]ny and all counterclaims or crossclaims by co-defendants and causes of action based on same.” The order contained language allowing immediate appeals pursuant to Supreme Court Rule 304(a) (Official Reports Advance Sheet No. 26 (December 22, 1993), R. 304(a), eff. February 1, 1994).
On appeal, St. Paul contends that we should reinstate its claims against Walton and Venute because the trial court erred in determining that they did not owe it a duty. P.D.C. contends that the trial court erred in dismissing its counterclaims against Walton and Venute.
The relevant facts, as alleged in St. Paul’s fourth amended complaint, are as follows. St. Paul, an insurance company, provided property and business interruption insurance coverage to Greenberg for a one-story building containing a medical facility in Highland Park (the building). Greenberg owned and operated the building. In October 1990, Greenberg retained P.D.C. to design, engineer, and construct a suite in the building suitable to house a very expensive piece of medical diagnostic equipment known as a Positron Emission Tomography scanner (PET scanner).
P.D.C. retained Westside as a subcontractor to perform demolition work in the building in preparation for the construction of the PET scanner suite. During the course of the work, either P.D.C., Westside, or another of P.D.C.’s subcontractors cut a water pipe and left it cut and uncapped. The cut and uncapped pipe was located directly above the place in Greenberg’s suite where the PET scanner was ultimately positioned.
After Greenberg completed the renovation of its suite and installed the PET scanner in the suite under the cut, uncapped water pipe, Greenberg leased a vacant, unimproved portion of the building to Hawthorn Lithotripter Partners (Hawthorn). Hawthorn retained Walton to act as the general contractor for the renovation of Hawthorn’s area of the building. Walton retained Venute, a plumbing contractor, to do plumbing renovation work in the Hawthorn area.
Hawthorn’s area of the building contained various water lines and branch water lines which had been shut off and were not being used prior to Greenberg’s lease of the area to Hawthorn. Some of the water lines in the Hawthorn area, which were unobstructed and in plain view, had leaks and were open-ended and uncapped.
One of the water lines ran from Hawthorn’s area into adjoining rooms and through them into Greenberg’s area of the building. This water line was designated branch Bl-1 on a layout of the water lines in the building attached to St. Paul’s complaint. In the Greenberg area, the Bl-1 line was the pipe which had been cut and left uncapped above the PET scanner. In Hawthorn’s area, the Bl-1 line was "unobstructed and in plain view so that it could be easily traced from where it originated in the Hawthorn portion of the building, to where it entered the Greenberg Institute.” The Bl-1 line was an inactive or "dead” line which had been taken out of service prior to Hawthorn’s lease of its area. The Bl-1 line was shut off at a main valve located in Hawthorn’s area. In the Hawthorn area, the Bl-1 line had a shut-off valve which, if fully and properly closed, would prevent water from flowing into the Greenberg area if the line were activated.
On September 18, 1991, Venute opened the main water line in Hawthorn’s area to test for leaks in the system. Venute had not closed the valve which would have prevented water from flowing into Greenberg’s area. Water flowed freely through the Bl-1 line and ran into the Greenberg area. In the Greenberg area, water poured out of the open and uncapped pipe and onto the PET scanner directly below causing substantial damage to the scanner.
Pursuant to its obligations as Greenberg’s insurer, St. Paul paid Greenberg compensation for the damage. St. Paul was consequently subrogated to Greenberg’s rights and brought this suit as Green-berg’s subrogee.
We must determine whether the trial court erred when it dismissed St. Paul’s complaint pursuant to section 2—615 of the Code (735 ILCS 5/2—615 (West 1994)). Our determination will also resolve the question of the viability of P.D.C.’s counterclaims for contribution. Well-established principles guide us in this determination.
Because a motion to dismiss under section 2—615 attacks only the legal sufficiency of a complaint, the question presented by such a motion is whether sufficient facts are contained in the pleadings which, if proved, would entitle a plaintiff to relief. (Urbaitis v. Commonwealth Edison (1991),
Counts VI and VII of St. Paul’s complaint alleged that Walton and Venute were negligent. In order to state a cause of action for negligence, a complaint must establish that the defendant owed the plaintiff a duty, that the defendant breached the duty, and that the breach proximately caused injuries to the plaintiff. (Doe v. Calumet City (1994),
The question before us is whether St. Paul’s fourth amended complaint alleged sufficient facts to establish that either Walton or Venute owed a duty to St. Paul. The complaint generally alleged that Venute owed a duty to St. Paul to perform properly the plumbing duties Venute was charged with and that Walton owed a duty to St. Paul to insure that Venute properly performed these duties. The complaint alleged that Venute had a duty to perform, and that Walton had a duty to insure that Venute performed, a number of specific actions including the following: to investigate and make inquiries regarding the condition and location of the Bl-1 line outside Hawthorn’s area; to notify building occupants, including Greenberg, that the line would be tested or activated; to air test the line rather than water test it; to close the shut-off valve before testing the line; and to comply with applicable plumbing codes.
The parties agree on the factors that a court should consider in determining whether a duty exists in a particular case. In Ziemba v. Mierzwa (1991),
Foreseeability of harm, in connection with a duty, is not a magical concept that ignores common sense. (Slager v. Commonwealth Edison Co. (1992),
Moreover, the burden on Venute of preventing the water from flowing into Greenberg’s premises was slight. Venute simply could have closed the shut-off valve or made an air test of the line and accomplished its purpose without allowing water into Greenberg’s area. In addition, Venute could have given Greenberg an opportunity to prevent the flow of water into its area by notifying Greenberg of the test before it took place.
Where the burden of protecting against injury is slight, even a remote danger of injury will render the failure to exercise due care unreasonable. (Stemen v. Avon Products, Inc. (1992),
Relying primarily on Ziemba v. Mierzwa (1991),
In Ziemba, a bicyclist was injured when the bicycle he was riding in a roadway adjoining the defendant landowner’s property collided with a truck exiting a driveway from the property. (
Ziemba is distinguishable from this case because Ziemba involved the liability of a landowner for an injury occurring off the owner’s land. The present case involves the liability of contractors for their negligent acts or omissions. In this context, whether the negligent acts of others were also involved is not controlling.
As the supreme court noted in Ziemba, whether a duty exists will depend in large part upon the relationship between the parties. (
Just as defendants have argued here that they had no duty to anticipate plaintiff’s negligence in failing to cap an exposed water line, plaintiff argues, with equal vigor, that it was not required to cap the line because it had no reason to anticipate that defendants would suddenly and without warning activate a dormant line. Considering the facts in the light most favorable to plaintiff, we conclude that both of these parties had a duty to exercise ordinary care in their conduct and that the relative degree of their culpability is a matter to be resolved by the trier of fact. Even where an injury would not have occurred but for the negligence of another, a negligent party cannot avoid responsibility for its own negligence. Carter v. Indiana Harbor Belt R.R. Co. (1989),
We hold that Walton and Venute had a duty either to close the shut-off valve, to notify Greenberg before activating the water line, or to test the line by an air test rather than a water test. We recognize that the Illinois Administrative Code allows either water or air testing of plumbing systems (77 Ill. Adm. Code § 890.130 (1994)). Our holding is that, if Venute decided to water test the system, he had a duty to close the shut-off valve which would have prevented water from flowing into Greenberg’s premises or to notify Greenberg before water testing. If Venute had decided to air test the system, according to the complaint, no damage would have been done to the PET scanner. Thus, counts VI and VII of plaintiff’s fourth amended complaint were sufficient to state a cause of action for negligence. Accordingly, the court erred when it dismissed counts VI and VII of plaintiff’s fourth amended complaint. Because the dismissal of P.D.C.’s counterclaims was based on the dismissal of counts VI and VII, the trial court also erred in dismissing the counterclaims.
For the foregoing reasons, the order of the circuit court of Lake County dismissing counts VI and VII of St. Paul’s fourth amended complaint and all counterclaims or crossclaims based on counts VI and VII is reversed, and the cause is remanded for further proceedings not inconsistent with this decision.
Reversed and remanded.
McLAREN, P.J., and BOWMAN, J., concur.
