Plaintiff appeals as of right from an order of the Wayne Circuit Court granting summary disposition of its claims pursuant to MCR 2.116(C)(7). We affirm in part, reverse in part, and remand for further proceedings.
Troy Coiporate Services, doing business as Troy Design and Manufacturing Company, was in the business of engineering and manufacturing automobile parts. Before December 1988, Troy Design had a twelve-circuit panel box, which provided power to the equipment in its computer-aided design (cad) room. In December 1988, pursuant to a contract with Troy Design, Barnard and Johnson Electric, Inc., removed the twelve-circuit panel box and installed a forty-two-circuit panel box and a transformer in the CAD room. In July 1990, Barnard and Johnson installed additional circuits in the forty-two-circuit panel box and installed a twelve-circuit panel box, which fed off the forty-two-circuit panel box. In December 1988, *476 Troy Design also entered into a contract with Guardian Alarm Co. of Michigan for the installation of a fire alarm system. Under a separate contract, Guardian agreed to provide Troy Design with maintenance, monitoring, and response service, including central station service. Guardian installed the fire alarm system in March 1989 and performed additional work on the system in June 1989.
A fire damaged Troy Design’s facility on July 19, 1992. As Troy Design’s property insurer, plaintiff paid Troy Design over $900,000 for property damage caused by the fire. Thereafter, on March 27, 1995, plaintiff filed a subrogation lawsuit against Guardian, alleging that Guardian failed to properly design and install the fire alarm system and, as a result, Troy Design suffered extreme water damage that would have been lessened had the alarm system allowed the fire to be discovered earlier. On July 14, 1995, plaintiff filed an action against Barnard and Johnson, alleging that the fire originated in the circuit panel box. The cases were consolidated in the trial court. Upon defendants’ motions for summary disposition, the trial court dismissed plaintiff’s claims pursuant to MCR 2.116(C)(7). The trial court determined that plaintiff’s claims were barred by the six-year period of limitation set forth in the statute of repose, MCL 600.5839(1); MSA 27A.5839(1).
Plaintiff first claims that the trial court erred in dismissing its negligence and gross negligence claims pursuant to MCR 2.116(C)(7) after finding that the forty-two-circuit panel box and transformer constituted an improvement to real property and that, therefore, the statute of repose applied to plaintiff’s claims. We disagree.
*477
An order granting summary disposition is reviewed de novo on appeal.
Michigan Mut Ins Co v Dowell,
The statute of repose, MCL 600.5839(1); MSA 27A.5839(1), provides:
No person may maintain any action to recover damages for any ipjury to property, real or personal, or for bodily injury or wrongful death, arising out of the defective and unsafe condition of an improvement to real property, nor any action for contribution or indemnity for damages sustained as a result of such injury, against any state licensed architect or professional engineer performing or furnishing the design or supervision of construction of the improvement, or against any contractor making the improvement, more than six years after the time of occupancy of the completed improvement, use, or acceptance of the improvement, or 1 year after the defect is discovered or should have been discovered, provided that the defect constitutes the proximate cause of the injury or damage for which the action is brought and is the result of gross negligence on *478 the part of the contractor or licensed architect or professional engineer. However, no such action shall be maintained more than 10 years after the time of occupancy of the completed improvement, use, or acceptance of the improvement.
An improvement is a “permanent addition to or betterment of real property that enhances its capital value and that involves the expenditure of labor or money and is designed to make the property more useful or valuable as distinguished from ordinary repairs.” Pendzsu, supra at 410. The test for an improvement is not whether the modification can be removed without damage to the land, but whether it adds to the value of the realty for the purposes for which it was intended to be used. Id. at 410-411. In addition, the nature of the improvement and the permanence of the improvement should also be considered. Id. at 411. Furthermore, if a component of an improvement is an integral part of the improvement to which it belongs, then the component constitutes an improvement to real property. Id.
Before 1988, Troy Design had a twelve-circuit panel box, which provided power to the equipment in its cad room. Barnard & Johnson submitted evidence that Troy Design wanted to replace the twelve-circuit panel box because it was causing interference problems and could not supply sufficient power to the facility. The new panel box provided more power to the facility and eliminated the interference problems. Furthermore, the new circuit panel box and transformer were integral components of an electrical system that was essential to the operation of the facility. Under these circumstances, we conclude that the trial court correctly determined that the new *479 circuit panel box and transformer constituted an improvement to real property for the purposes of the statute of repose.
Plaintiff next argues that the trial court erred in granting summary disposition of its claims arising out of Barnard & Johnson’s 1990 electrical work pursuant to MCR 2.116(C)(7) on the basis of the three-year statute of limitations set forth in MCL 600.5805(8); MSA 27A.5805(8). We agree.
We need not decide whether the trial court correctly concluded that the 1990 work did not constitute an improvement to real property. Even if the trial court is correct, and the claims arising out of the 1990 work were subject to the three-year statute of limitations set forth in MCL 600.5805(8); MSA 27A.5805(8), the claim still was not barred by that statute. For the purposes of MCL 600.5805(8); MSA 27A.5805(8), a claim accrues when the wrong upon which it was based was done, regardless of when damage results. MCL 600.5827; MSA 27A.5827;
Nelson v Ho,
Plaintiff next argues that the trial court erred in determining that the fire alarm system was an improvement to real property and that, therefore, the statute of repose applied to plaintiffs claims against Guardian. We disagree.
Other jurisdictions have held that fire protection sprinkler systems and a high-pressure water pipe designed for fire protection are improvements to real property for the purpose of a statute of repose.
Qualitex, Inc v Coventry Realty Corp,
Plaintiff next argues that the trial court erred in granting summaiy disposition of its claims against Guardian pursuant to MCR 2.116(C)(7) because gen *481 uine issues of material fact remained regarding when Troy Design accepted the completed alarm system. We disagree.
The statute of repose is triggered by the time of occupancy
or
use
or
acceptance of the improvement. MCL 600.5839(1); MSA 27A.5839(1);
Fennell v Nesbitt, Inc,
Finally, plaintiff argues that the trial court erred in determining that the statute of repose applied to its claims of breach of contract, breach of warranty, fraud, and misrepresentation. We disagree.
The statute of repose applies to all actions against a contractor based on an improvement to real property, including actions based on contract.
Michigan Millers Ins Co v West Detroit Building Co, Inc,
196
*482
Mich App 367, 377-378;
Affirmed in part, reversed in part, and remanded for further proceedings. We do not retain jurisdiction. No costs, neither party having prevailed in full.
