Defendant Modular One (hereinafter defendant) appeals as of right the trial court’s grant of plaintiff’s motion for partial summary disposition on the basis that defendant’s liens on certain properties *446 were invalid and unenforceable. 1 We reverse and remand.
I. FACTS AND PROCEEDINGS
This case arises out of plaintiffs action to quiet title to eight residential lots in Flint Township that it purchased through foreclosure. Plaintiff sought to remove defendant’s lien claim with respect to each of the properties. Defendant improved each of the lots with the installation of modular houses, then placed a construction lien on each property before the properties were foreclosed and purchased by plaintiff. Plaintiff asserts that defendant’s hens were invalid because defendant did not possess a statutorily required residential builder’s hcense at the time that it made the improvements on these properties.
Plaintiff moved for summary disposition, contending that defendant’s hens were unenforceable because (1) the lack of а residential builder’s hcense barred defendant from enforcing the hens and (2) the inclusion of nonhenable items in the hen amounts invalidated the hens. Defendant did not file an answer to the motion for summary disposition, but at the hearing regarding the motion it relied on the following defenses: (1) plaintiff lacked standing to challenge the hens and (2) the fоrmer owners of the properties had waived the statutory licensing requirement. The trial court granted plaintiff’s motion for summary disposition, reasoning that the hens were unenforceable because defendant did not have a builder’s hcense. The court also determined that plaintiff did have *447 standing to challenge the hens beсause it was the owner of the properties. We reverse the trial court’s grant of summary disposition.
E. ANALYSIS
This Court reviews decisions concerning motions for summary disposition de novo to determine if the moving party was entitled to judgment as a matter of law.
Stehlik v Johnson (On Rehearing),
MCR 2.116(C)(10) permits summary disposition when, except for the amount of damages, there is no genuine issue concerning any material fact and the moving party is entitled to [judgment] as a matter of law. A court reviewing such a motion must consider the pleadings, affidavits, depositions, admissions, and any other evidence in favor of the opposing party and grant the benefit of any reasonable doubt to the oppоsing party. [Id.]
First, we address defendant’s argument that plaintiff did not have standing to challenge the validity of the hens because it was not a party to the construction contract and it did not obtain the rights of the original owners by virtue of its purchase through foreclosure. A construction lien gives the lienor an in rem interest in the property thаt it has improved.
Old Kent Bank of Kalamazoo v Whitaker Constr Co,
Any person, whether he is in possession of the land in question or not, who claims any right in, title to, equitable title to, interest in, or right to possession of land, may bring an action in the circuit courts against any other person who claims or might claim any interest inconsistent with the interest claimed by the plaintiff ....
As the owner through foreclosure, plaintiff had title to the property. Because any encumbrance on the property would cloud its title to the property, plaintiff could challenge the validity of any liens clouding its title. Accordingly, the trial court correctly determined that plaintiff could bring this suit to quiet title.
We next turn to the propriеty of the trial court’s grant of summary disposition because defendant’s liens were unenforceable. MCL 339.2412; MSA 18.425(2412) provides:
A person or qualifying officer for a corporation or member of a residential builder or residential maintenance and *449 alteration contractor shall not bring or maintain an action in a court of this state for the collection of compensation for the performance of an act or contract for which a license is required by this article without alleging and proving that the person was licensed under this article during the performance of the act or contract.
By its terms, MCL 339.2412; MSA 18.425(2412) prevents an unlicensed cоntractor from suing to collect a money judgment.
Parker v McQuade Plumbing & Heating, Inc,
Further, the Supreme Court determined in
Kirkendall v Heckinger,
“It is a cardinal principle that equity will not aid a party in doing that which is not equitable. He who seeks equity must be prepared to do equity.” Goodenow v Curtis,33 Mich 505 , 509 (1876).
See, also, Bonninghausen v Hansen,305 Mich 595 ;9 NW2d 856 (1943).
*450 The plaintiffs sought an equitable remedy. Before ordering the conveyance to [plaintiff Dennis Kirkendall], thе trial court was obliged to determine the amount the plaintiffs were required to pay the defendants in order to do equity. As the equitable mortgagee, [defendant Carl] Heckinger was entitled as a condition to reconveyance to reasonable expenditures for improvements on the property made with the [plaintiffs’] consent (and in fact with [one plaintiff’s] active participation) while [defendant Carl] Heckinger had title to the property.
This Court also applied this equitable principle to an equitable suit against an unlicensed builder in
Green v Ingersoll,
So too in this case, as noted by the trial judge, it was plaintiffs who first invoked the equity powers of the court. .
. . Although we . . . hold that the court was precluded, under the statute, from granting defendants any relief on their counterclaim, he [sic] was bound to determine the relative equitable rights of all parties in fashioning the appropriate relief.
... If the court determines that plaintiffs are entitled to the equitable relief which they seеk, it shall also determine what plaintiffs must pay defendants in order to do equity. [Id. at 237.]
Although defendant here could not maintain an action to enforce its lien because it was unlicensed, MCL 339.2412; MSA 18.425(2412), on the basis of the reasoning of
Green
and
Kirkendall,
it appears that plaintiff may nevertheless be required to compensate defendant for its work on the properties. In other words, in order to receive the equitable relief of an unclouded title,
Michigan Nat’l Bank & Trust Co v Morren,
First, although the plaintiffs in
Kirkendall, supra
at 372, asked for and even participated in the construction of the house at issue there, the defendant builder in
Green
fully cоnstructed the house before plaintiffs entered into the picture and bought the house,
Green, supra
at 231. Thus, this Court applied the equity principle of
Kirkendall
in
Green
without requiring a construction contract or actual consent for the construction. Also, we believe that a requirement of contractual privity would not make sense here, where the focus is upon the property and the equitаble value of the work on it, rather than upon any contract to do work. In an equitable action, such as plaintiff’s suit to quiet title, a court ‘“looks at the whole situation and grants or withholds relief as good conscience dictates.’"
Morren, supra
at 410, quoting
Hunter v Slater,
Second, we note that there was no actual mortgage between the parties in either Kirkendall or Green. The trial court in Kirkendall, supra at 373, concluded that the defendant was an equitable mortgagee, which means simply that a “lien [was] required by the facts and circumstances of the parties’ relationship.” 1 Cameron, Michigan Real Property Law (2d еd), § 18.5, p 658. In that case, the key circumstance that mandated a finding of an equitable mortgage was the conveyance of the property by the plaintiff to the unlicensed builder, with reconveyance to take place once the plaintiff had paid for the construction and the improvements made to the рroperty by the builder. Kirkendall, supra at 373. In Green, supra at 232, although the parties discussed a mortgage, it was never executed. Instead, the defendant builder filed a lien against the property for the amount still owing on the house, and the plaintiff sued to remove the lien cloud from the title on the basis of the defendant’s unlicensed status, as here. Unlike Kirkendall, there was not even a finding of an equitable mortgage in Green. Thus, there was no mortgagor/mortgagee relationship between the parties. Similarly, here there appears to be no actual mortgage between the parties. 2 Because the holding in Green, applying the piin *453 ciple of equity, was not based on, nor did it even mention, a mortgage, Green, supra at 237, this factor also does not bar the requiring of equity by plaintiff in this case.
Third, we address the dictum found in a footnote in Utica, supra, requiring a buyer/seller relationship as a prerequisite to equity in an unlicensed contractor case. While we are not constrained to follow this dictum, we also find that the Court in Utica misread the law regarding this issue: Although Kirkendall and Green did involve buyer and seller parties, the Kirkendall equity principle was also applied in Barbour, supra, where the parties did not have a buyer-seller relationship. In that case, the plaintiff owned the land and paid the defendant for the construction of the building upon it and а mortgage to finance the project. Barbour, supra at 180-181. Thus, it appears that this Court has not required a buyer/seller relationship in order to apply the equity principle in this type of case.
Overall, application of the Kirkendall equity principle seems fairly straightforward: Where one party seeks an equitable remedy against an unlicensed builder who has performed residential construction work on property, and circumstances indicate that equity requires that the builder be paid for that work, the party seeking equity must first do equity by compensating the builder. See Green, supra at 237. Here, defendant held hens on plaintiff’s properties that could not be executed because it was an unlicensed builder, MCL 339.2412; MSA 18.425(2412), аnd plain *454 tiff was fully aware of the recorded liens as well as the improvements before it purchased the properties. We believe that the circumstances in this case warrant application of the equity principle without regard to the existence of a contract, a mortgage, or a buyer/seller rеlationship. Whether the builder holds a mortgage or a lien, or simply performed work on the property for which collection cannot be made because the builder is unlicensed, the important considerations are whether the plaintiff will benefit through equity at the expense of the defendant builder and thus whether equity requires payment for the work under the particular circumstances of the case. Here, defendant would have been able to sue to collect on the lien but for his unlicensed status, and plaintiff seeks to avoid payment for work on the properties that it knew were still owing at the time that it purchased the properties. In our judgment, under these circumstances, where plaintiff sought to quiet title to its property at the expense of the equitable rights of defendant, as in Kirkendall, Green, and Barbour, plaintiff is required to do equity and pay for defendant’s work on its property before it can receive the equity of an unclouded title. 3
*455 Applying these principles, we believe that the trial court incorrectly held that defendant’s liens were unenforceable because defendant did not have a builder’s license. As a precondition to resolving plaintiff’s action to quiet title, the court should have determined if defendant was entitled to payment for the work he performed on the property. Because the court concluded only that defendant’s hens were invalid, the court essentially allowed MCL 339.2412; MSA 18.425(2412) to be used as a sword rather than being used as a shield, contrary to this Court’s holdings in Parker, supra at 471; Green, supra at 235-37.
Reversed and remanded for further proceedings in accordance with this opinion. We do not retain jurisdiction.
Notes
Plaintiff moved for summary disposition only against defendant Modular One, because the case relative to defendant Eric Adams was administratively closed because of Adams’ bankruptcy.
In defendant’s brief on appeal, defendant alleges, among other facts, that plaintiff worked with defendant to secure mortgage loans for each of the рroperties at issue here to be developed by defendant. The implications of this plan on the relationship of the parties are not clear from the allegations before us. However, it appears that at the time of the trial court proceedings in this case, there was a separate pending case in the trial court regarding the relationship between the parties here, the out *453 come of which is unknown to us. For this reason, and because these allegations were not introduced, argued, or decided in the court below, we will not address them for the first time on appeal here.
Plaintiff also argues that defendant’s appeal is moot because it failed to file an action to enforce its claims of lien within one year from the time it recorded its liens pursuant to MCL 570.1117; MSA 26.316(117), and that the inclusion of nonlienable items in the lien amounts invalidated the liens. With regard to the statute of limitations issue, we do not believe that defendant was required to bring a meritless suit in order to preserve its right to receive equity. Because defendant’s liens were unenforceable as a result of his being unlicensed, any suit on his part would have served only to preserve his rights should plaintiff decide to sue defendant in the future. Where a suit is brought in equity and does not rely upon the statute, as here, the stаtutory limitations period should not, in our judgment, act as an absolute bar, although an equity court may consider all the circumstances of a case in determining equity. In addition, with regard to the
*455
lien amount, any recovery by defendant here will be based on equitable principles and reflect the equitable value of his work. It will not be either based on or limited by any contract or statutory considerations. See
Kirkendall v Heckinger,
