The opinion of the court was delivered by
This appeal comes before us upon our grant of review on two issues: (1) whether the removal of hazardous waste from landowners’ property was an “improvement of real property” within the meaning of the mechanic’s lien statute, K.S.A. 60-1101; and (2) whether a subcontractor not in privity with the owner of the property may initiate an action for unjust enrichment against the owner when the prime contractor fails or refuses to pay the subcontractor.
The trial court granted summary judgment to the defendant on both issues. The Court of Appeals affirmed the trial court’s judgment that the plaintiff’s removal of waste was not lienable under K.S.A. 60-1101 but reversed and remanded for consideration of the plaintiff’s unjust enrichment claim.
Haz-Mat Response, Inc., v. Certified Waste Services, Ltd.,
The material facts necessary for the resolution of the issues presented are largely undisputed. Defendant Coastal Refining and Marketing (Coastal) contracted with defendants Certified Supply Corporation (Certified) and Chief Supply Corporation (Chief) to dispose of up to 500,000 pounds of Coastal’s hazardous waste located on Coastal’s property in four containers: two above-ground emulsion breaking tanks, one API separator, and one in-ground *169 tank. Certified and Chief subcontracted with plaintiff Haz-Mat Response, Inc., (Haz-Mat) to perform part of the work.
Problems arose during performance of the contract, and although Haz-Mat removed the waste from the storage tanks, it was not disposed of as required by the prime contract. Coastal hired other contractors to complete the work. Coastal refused to pay Certified and Chief, who in turn refused to pay Haz-Mat. Haz-Mat filed a mechanic’s lien and thereafter filed suit against Certified, Chief, Coastal, and CIC Industries, the apparent owner of the real property on which Coastal conducted business. (Hereinafter, CIC and Coastal will be referred to simply as “Coastal.”) In its petition, along with breach of contract claims against Chief and Certified, Haz-Mat asked for foreclosure of a mechanic’s Men against Coastal. In the alternative, Haz-Mat asked for judgment against Coastal, Chief, and Certified on the theory of quantum meruit/unjust enrichment. In a separate claim, Haz-Mat asserted a fraud claim against Chief.
Coastal filed a summary judgment motion, claiming that hazardous waste removal would not support a mechanic’s lien because the removal is not an improvement of real property. Coastal also claimed that a subcontractor may not recover against a property owner on the basis of unjust enrichment in the absence of privity of contract. On the basis of undisputed facts, the trial court granted Coastal summary judgment on both claims.
Haz-Mat then entered into a stipulation with Chief and Certified for dismissal of all other claims. The trial court dismissed in accord with the stipulation. Haz-Mat appealed. The Court of Appeals affirmed the trial court’s ruling that Haz-Mat’s activities under the circumstances of this case could not form the basis for a mechanic’s lien. However, the Court of Appeals reversed the trial court, concluding that under the circumstances, Haz-Mat had a viable unjust enrichment claim against Coastal notwithstanding a lack of privity.
MECHANIC’S LIEN
The Court of Appeals concluded that the removal of hazardous *170 material under the given facts did not constitute an “improvement of real property” within the meaning of K.S.A. 60-1101 and, therefore, was not lienable. As recognized by the Court of Appeals, the issue presented was a matter of first impression in this state.
We agree with the Court of Appeals’ conclusion that the removal of hazardous waste in the circumstances of this case was not lien-able; we also agree with some of the rationale provided for this conclusion. However, because this is a case of first impression, we choose to conduct our own analysis of the issues presented. Because this analysis involved the interpretation of a statute, our standard of review is unlimited. See
Todd v. Kelly,
Our mechanic’s lien law is remedial in nature, enacted for the purpose of providing effective security to any persons furnishing labor, equipment, material, or supplies used or consumed for the improvement of real property under a Contract with the owner. The theory underlying the granting of a lien against the property is that the property improved by the labor, equipment, material, or supplies should be charged with the payment of the labor, equipment, material, or supplies.
At the same time, a mechanic’s lien is purely a creation of statute, and those claiming a mechanic’s lien must bring themáelvés clearly within the provisions of the authorizing statute.
Kansas City Heartland Constr. Co. v. Maggie Jones Southport Cafe,
Inc.
K.S.A. 60-1103 provides that a subcontractor may obtain a mechanic’s lien as provided for in K.S.A. 60-1101. K.S.A 60-1101 states:
*171 “Any person furnishing labor, equipment, material, or supplies used or consumed for the improvement of real property, under a contract with the owner or with the trustee, agent or spouse of the owner, shall have a hen upon the property for the labor, equipment, material or supplies furnished, and for the cost of transporting the same.”
There is no dispute that Haz-Mat complied with all statutory requisites in filing its mechanic’s lien, that it provided labor and materials used in the removal of hazardous waste on the owner’s real property, and that it has not been paid under its subcontract. The question before the trial court and on appeal is whether Haz-Mat’s waste-removal activities constituted an improvement of real property.
The phrase “improvement of real property” is not defined in the Kansas mechanic’s lien statute. The only reported Kansas case interpreting the term “improvement” as used in our mechanic’s lien statute is
Mark Twain Kansas City Bank v. Kroh Bros. Dev. Co.,
architectural and engineering services provided by subcontractors constituted lienable labor resulting in an improvement to real property when construction was never commenced and there appeared no visible or physical manifestation of the subcontractors work on the property.
Mark Twain
held that the professional services provided were never used or consumed in any improvement of the real property within the meaning of K.S.A. 60-1101. The Court of Appeals relied in part on the earlier case of
Benner-Williams, Inc. v. Romine,
Mark Twain
concluded that there is a requirement of “[s]ome visible improvement” or some “visible effect on the real estate” “in order to put those who seek to acquire an interest in the land on notice that building has commenced on the property.”
While the' Court of Appeals in this case discusses Mark Twain, it did not base its decision on' Mark Twain. Instead, the Court of Appéáls adopted'the . following dictionary definition of-improvement: “A-valuable addition made to property (usually real-estate) or an amelioration in its' condition; amounting to more than mere repairs' or’ replacement, c'osting labor or capital, and intended to enhance its value,'beauty or-utility or to adapt it for new or further ptirpo'ses.” Black’s Law Dictionary 757 (6fh ed. 1990).” Applying this-definition,-the Court of Appeals concluded that the -removal of the waste undér the circumstances of this case was not lienable in'-that removal'was part of a maintenance program necessary in the normal’ course of Coastal’s business. “The removal of the waste did not become a part of the property or' enhance the value of the real estate because defendant would generate more waste to take its place.” 21 Kan. App. 2d at-62.
The phrase “improvement"of real property” first appears in K.S.A. 60-1101 in 1964. Other than in
Mark Twain,
the meaning of the term “improvement” used in K.S.A. 60-1101 has not been discussed or defined in Kansas. However, earlier Kansas cases not involving the precise issue We now address provide some guidance for the present statute. In
Hill v. Bowers,
The labor, equipment, material, or supplies must by the express terms of the statute be used or consumed for the improvement of properly. In
Seyb-Tucker Lumber and Implement Co. v. Hartley,
However, Kansas law does not require that an actual structure be built on the property. In
Benner-Williams,
a lien existed where the labor and materials were provided to remodel an existing residence. See
The Court of Appeals in this case cited an Alabama case dealing with the definition of the term improvement. In
Mazel v. Bain,
Another case dealing with the definition of improvement to real property is
Cates v. Hunter Engineering Co.,
The question on appeal was whether the defendant had met its burden of establishing that the cold rolling mill was an
improvement to real property
within the meaning of the statute.
Cates
defined an “improvement” as an addition to real property amounting to more than mere repair or replacement and which substan-
*175
Rally enhances the value of the property. The court concluded that the installation of the cold rolling mill was more than a “mere repair or replacement,” that the installation substantially enhanced the value of the real property, and that the installation was, therefore, an improvement to real property under the statute.
From the above discussion, several observations may be drawn concerning the statutory construction of the phrase “improvement of real property” as used in K.S.A. 60-1101: (1) What is or is not an improvement of real property must necessarily be based upon the circumstances of each case; (2) improvement of the property does not require the actual construction of a physical improvement on the property; (3) the improvement of real property need not necessarily be visible, although in most instances it is; (4) the improvement of the real property must enhance the value of the real property, although it need not enhance the selling value of the property; (5) for labor, equipment, material, or supplies to be lien-able items, they must be used or consumed and thus become part of the real property; (6) the nature of the activity performed is not necessarily a determining factor of whether there is an improvement of real property within the meaning of the statute; rather, the purpose of the activity is more directly concerned in the determination of whether there is an improvement of property which is thus lienable; and (7) the furnishing of labor, equipment, material, or supplies used or consumed for the improvement of real property may become lienable if established to be part of an overall plan to enhance the value of the property, its beauty or utility, or to adapt it for a new or further purpose, or if the furnishing of labor, equipment, material, or supplies is a necessary feature of a plan of construction of a physical improvement to the real property. Finally, consistent with die Court of Appeals’ opinion in this case, Black’s Law Dictionary’s definition most closely reflects what is meant by use of the phrase “improvement of real property” in K.S.A. 60-1101: “A valuable addition made to real property (usually real estate) or an amelioration in its condition, amounting to more than mere repairs or replacement, costing labor or capital, and intended to enhance its value, beauty or utility or to adapt it for *176 new or further purposes.” Black’s Law Dictionary 757 (6th ed. 1990).
Applying the above definition, we find no evidence in the record that the removal of the hazardous waste was part of an overall plan to improve the property or that removal would necessarily enhance the value of the real property. Removal would presumably allow the business to continue as it had before removal. There is no evidence that removal would adapt the property for new or further purposes. In fact, the evidence established that the same business would be conducted as before. We agree with the Court of Appeals that the removal was not lienable because it was part of a maintenance program that was necessary in the normal course of Coastal’s business. The evidence fails as a matter of law to demonstrate that the removal was an “improvement of real property” within the meaning of K.S.A. 60-1101.
UNJUST ENRICHMENT
The Court of Appeals correctly notes that the question whether a subcontractor can recover from an owner on the basis of unjust enrichment or quantum meruit under the facts of this case is a question of law, with an unlimited scope of review.
“ ‘Quantum meruit is an equitable doctrine. “Restitution and unjust enrichment are modem designation for the older doctrine of quasi-contracts.” Peterson v. Midland Nat'l Bank,242 Kan. 266 , 275,747 P.2d 159 (1987). “The theory of quasi-contract is raised by the law on the basis of justice and equity regardless of the assent of the parties.” Holiday Development Co. v. Tobin Construction Co.,219 Kan. 701 , 708,549 P.2d 1376 (1976). “The substance of an action for unjust enrichment lies in a promise implied in law that one will restore to the person entitled thereto that which in equity and good conscience belongs to him [or her].” Peterson,242 Kan. at 275 .’ Pioneer Operations Co. v. Brandeberry,14 Kan. App. 2d 289 , 299,789 P.2d 1182 (1990).”21 Kan. App. 2d at 63 .
Coastal asks this court for review of the part of the Court of Appeals’ decision which determined that the trial court erred in concluding that Haz-Mat could not proceed under the theory of unjust enrichment in the absence of privity of contract. Coastal argues that the overwhelming weight of authority is that this theory is not available to a subcontractor.
*177
The district court granted summary judgment in favor of Coastal on this issue based on language found in
Holiday Development Co.,
“Many courts have considered whether a subcontractor or materialman can obtain a personal judgment against an owner on the basis of quasi-contract or unjust énrichment, in the absence of privity of contract or a direct promise to pay. The overwhelming weight of authority is in the negative (see Anno.: Subcontractor’s Recovery Against Owner,62 ALR 3d 288 , § 4, 297-303).”
However, our decision in
Holiday Development Co.
was not based on the finding of a blanket prohibition against the use of unjust enrichment theory where no privity of contract existed, but was based on the conclusion that there was no unjust enrichment. See
In
J.W. Thompson Co. v. Welles Products Corp.,
“The basic elements of a claim based on a theory of unjust enrichment .are threefold: (1) a benefit conferred upon the defendant by the plaintiff; (2) an appreciation or knowledge of the benefit by the defendant; and (3) the acceptance or retention by the defendant of the benefit under such circumstances as to make it inequitable for the defendant to retain thebenefit without payment of its value.”243 Kan. at 512 .
The sole basis for the trial courts decision that a claim for unjust enrichment would not lie was lack of privity between the owner, Coastal, and the subcontractor, Haz-Mat. Our past cases establish that recovery under quasi-contract or unjust enrichment is riot prohibited simply because the subcontractor and the owner of. the property are not in privity. This conclusion is consistent with the thebiy of quasi-contract and unjust enrichment, which does not depend on privity. See 66 Ain. Jur. '2d, Restitution and Implied Contracts § 2, pp. 943-44.
However, in both of the above cases this court held that the circumstances did not permit the subcontractor to proceed with a claim of unjust enrichment against the owner. In
Holiday Devel=-
*178
opment Co.,
In theory, the right to recover under unjust enrichment is governed by principles of equity. The obligation upon which the right to recover is based is created and imposed by law to prevent unjust enrichment at the expense of another. If the law is to allow the action based upon an implied-in-law contract between the owner and subcontractor, there must exist some special circumstances that would justify requiring the owner to pay. An examination of our past cases and further consideration of those cases set forth in Annot.,
Although Haz-Mat submitted an affidavit stating that its president “believed” Coastal was responsible for the bill along with the prime contractor, Haz-Mat did not present any evidence nor did it claim that this supposed belief was based on any statement or *179 promise by Coastal. We do not suggest that privity must be established or that a promise by the owner must be established in order for the plaintiff to have an unjust enrichment claim, but there must exist such special circumstances to warrant such an action. Here, no such circumstances existed.
• The Court of Appeals concluded that unjust enrichment would lie because “plaintiff’s removal work is not lienable under K.S.A. 60-1101” and an action in equity might be plaintiff’s only available avenue. In reaching its conclusion, we believe the Court of Appeals placed too much emphasis on the position of the plaintiff and failed to emphasize that the basis of an unjust enrichment action involves a consideration of the circumstances surrounding the acceptance and retention of the benefit by the defendant. While the position of the plaintiff is always a factor to be considered, it is “the acceptance or retention by the defendant of the benefit under such circumstances as to make it inequitable for the defendant to retain the benefit without payment of its value” that is of critical importance in making a determination of whether such an action will lie.
J. W. Thompson Co.,
Holiday Development Co.,
*180 The judgment of the Court of Appeals is affirmed in part and reversed in part, and the judgment of the district court is affirmed.
