The question is whether' the appellant’s lien for machinery supplied to Kennedy’s mill after the date of the execution of the plaintiff’s mortgage upon the mill property, is prior and paramount to the lien of the mortgage. This question must be determined upon the proper interpretation of the statute which gives the lien. It is sec. 3314 of the Eevised Statutes. So far as material to the question to be decided, it reads as follows:
“Every person who, as principal contractor, architect,, civil engineer or surveyor, performs any work or labor, furnishes any materials, or prepares any plans or estimates for,, in or about the erection, construction, repair or removal of any dwelling house or other building, or any machinery erected or constructed so as to be, or become a part of the freehold upon which it is situated, . . . shall have a lien thereupon, and upon the interest of the owner of such dwelling house, building, machinery ... in and to the land upon which the same is situated. . . . Such lien shall be prior to any other lien which originates subsequent :to the commencement of the construction ... or work aforesaid of, or upon such dwelling house, building, machinery, . . . and shall also attach to and be a lien upon the real property of any person on whose premises such improvements are made.”
The object of the interpretation of a statute is to ascertain what the legislature intended to accomplish by it. When that intention is ascertained, that is the law. Statutes giving what are called “ mechanics’ liens ” provide new remedies not given by the common law. They are supplementary to the common law, and remedial in their nature, and are to be fairly, even liberally, interpreted, so as to make the remedial purpose of the legislature effectual.
The statute recited above, so far as relates to the question involved, gives liens in two classes of cases. It gives liens to persons who furnish materials, for the construction *612of buildings, ancl to persons who erect machinery on the lands of others. The latter case is not included in the former, but is supplementary or additional to it. It provides for cases which are not within the former provision. The mechanic’s lien statute, as at first enacted and in force, had onty the former provision. The latter was subsequently added for the purpose of including within the benefits of the statute cases not already within it. While, the statute as it now stands, with both cases included within it, was re-enacted as a whole in the revision of 1878, it, no doubt, bears the same interpretation as if the two provisions were contained in separate statutes.
The case of one who furnishes the machinery for the construction of a new mill is the case of one who furnishes materials for the construction of a building. The machinery, when attached, becomes, a part of the building and is real estate. The building without the machinery is no mill. The building with the machinery attached 'becomes a mill, but still is described by the generic term “ building.” It is subject to the liens which the statute gives to such as furnish materials for' the construction of a building. This seems to be elementary, and to require no amplification. But it maybe confirmed'by citation of authority. Phillips, Mech. Liens (3d ed.), § 177, says: “ Fixtures, machinery, etc., when necessary to the original purposes of the structure, and erected with it, may become responsible to the lien, when they would not otherwise have been, without express enactment, if put up independently. As between the owner and mechanic, everything put into and forming a part of a building, or machinery for manufacturing purposes, and essential to the manufactory, is a part of the freehold ¡ as wheels of a mill, . . . are subject to the mechanics’ lien law.” In Summerville v. Wann, 37 Pa. St. 182, it was held that a statute which provides that “ every building erected . . . shall be subject to a lien for the payment of all *613debts contracted for work done or materials furnished for or about the erection or construction of the same ” gives a lien against the building for engines and machinery constituting a part of a new mill. In Dimmick v. Cook & Co. 115 Pa. St. 573, it was held, under the same statute, that a lien was given on a new hotel for furnishing such articles for its construction as “ heating, laundry, and cooking apparatus.” In Dickey’s Appeal, 115 Pa. St. 73, it was held that a battery of boilers, imbedded in brick and stone and mortar, a funnel chimney or stack, built on firm foundation and extending through the' roof, the engines, cranes, wire mills, furnace trains, and other fixtures firmly attached to the realty, all a part of the realty, and all together constituting one plant, are all part of the building, within the meaning of the law which gives a lien upon the building for materials furnished in its construction.
So, it must be considered that the appellant has a right to a lien upon the mill building and the freehold, as one who has furnished materials for its construction. It is within the former class,— a lien upon the building itself. Being a lien upon the building itself, it is not a lien upon machinery otherwise provided for. This being established, there is little occasion to consider what cases come within that provision which gives a lien to the person who erects machinery on the lands of another. Probably it will be found that all are cases where the machinery erected does not become a constituent part of a building upon which a lien might be had. The windmills found upon so many of the farms are samples. “Where a lien is given on the building itself, there can be no lien upon the details or constituent parts of the building. The greater includes the less. This seems to be evident.
The appellant’s lien, being upon the building itself, is prior and paramount to any other lien which has originated sub*614sequently to tbe commencement of the construction of the mill, by express provision of the statute itself. It is prior and paramount to the plaintiff’s mortgage, which was executed since the commencement of the building. The fact that the plaintiff had not begun to furnish the machinery for which his lien is claimed, at the mill, at the time when the plaintiff made his loan and took his mortgage, is irrelevant to the question. This was so decided in Lampson v. Bowen, 41 Wis. 484. That case was, in some of its features, very much like the present case. It can almost be said to be a precedent for this case. Granted that furnishing machinery is furnishing materials for the building, and it is on all fours with this case. It was a question between the holder of a mortgage executed while a dwelling house was in process of erection on the premises, and a lien claimant for labor and materials furnished subsequently to the execution and recording of the mortgage. It arose on a motion of the mortgagee to be let in to defend against the lien claimant. The motion was based upon an affidavit which alleged that none of the work was done or materials were furnished prior to the execution or recording of the mortgage. The court say: “ To construe the statute to mean that such lien should com- ' menee to run from the time the mechanic commenced work on the house, or the material man commenced to furnish materials therefor, and should only be paramount to liens which originated after that time, but subject to liens which originated before that time and after the erection of the building was commenced, would be to pervert the language and plain meaning of the statute.” The condition of the building, its unfinished state, was notice to the plaintiff, within the contemplation of the law, that further expenses for the completion of the building for its original purpose as a mill were in contemplation, which in some contingency, not remotely likely to happen, might eventuate in’ a lien *615wbicb would be prior and paramount to tbe lien of bis mortgage. Chapman v. Wadleigh, 33 Wis. 267.
By the Ooivrt.— That part of tbe judgment appealed from is reversed, and tbe cause remanded with direction to modify tbe judgment in accordance with this opinion.
Cassoday, 0. J.It is found by tbe trial court, and remains unchallenged, that on or about September 1,1890, tbe defendant Kennedy commenced tbe erection of bis mill in Ashland, and that the “ building was practically completed ” by him before be gave tbe note and mortgage to tbe plaintiff. It is conceded by my brethren that tbe mere “ order or agreement,” made about eight Aveeks prior to tbe execution of tbe plaintiff’s mortgage, whereby tbe defendant company “ agreed to manufacture tbe machinery and ship it as ordered,” did not of itself create a lien upon tbe building or land in favor of tbe company. It is, moreover, conceded that tbe mere fact that, in pursuance of that order or agreement, tbe company commenced to manufacture at its shops in Eau Claire some of such machinery, and actually bad some of it completed at such shops prior to tbe making or recording of that mortgage, did not of itself create a lien upon tbe building or land in favor of tbe company. Tbe trial court found, and it remains unchallenged, that tbe first machinery shipped by tbe company from Eau Claire to Kennedy at Ashland was on January 22, 1891,— twenty-two days after tbe plaintiff, relying upon assurances that there Avas no lien or incumbrance upon tbe property, loaned tbe monoy and took tbe mortgage, and twelve days after that mortgage bad been recorded. From what has been stated it logically folloAvs, and must be conceded, that tbe lien in favor of tbe company Avas wholly created by what took place between January 22, 1891, and May 4,1891, inclusive, as mentioned in tbe opinion filed. This being so, tbe company is in no more favorable position than it Avould have *616been, if the “ order or agreement ” for the machinery had been made after the recording of the mortgage, and the same had all been subsequently manufactured. It follows, as a necessary sequence, that, at the time the plaintiff loaned his money and took the mortgage, the building and land in question were free and clear from any incumbrance in favor of the company, and that the same continued to be true, not only up to the time of recording of the mortgage, but for several days thereafter. All this is, in effect, conceded by my brethren; but, as they construe our statute, they feel constrained to hold that, although the lien in favor of the company was wholly created after the recording of the plaintiff’s mortgage, yet that, when so created, it related back to the commencement of the building, September 1, 1890, and thus became “prior and paramount to any other lien which has originated subsequently to the commencement of the construction of the mill, by express provision of' the statute itself,” and hence “ is prior and paramount to the plaintiff’s mortgage, which was executed since the commencement of the building.”
Under such construction of the statute, the company’s lien would have so related back and become prior and paramount to the plaintiff’s mortgage, even had the lien not been created for several months or even for several years after the recording of the mortgage; and this would be so even if Kennedy borrowed the money with the avowed purpose of paying for such machinery and otherwise keeping out of debt. The decision is to the effect that the company and Kennedy were, by transactions which occurred wholly after the recording of the plaintiff’s mortgage, enabled, by virtue of the statute, to divest the plaintiff’s lien and render the same subordinate and subject to the lien in favor of the company for machinery thereafter sold and delivered, to the amount of $5,259.25; and that, too, without the consent or knowledge of the mortgagee, and without any notice to him, actual or *617constructive. True, it is said in tbe opinion filed, in effect, that the completed building, without- the machinery in it, was notice to the plaintiff, within the contemplation of law, that further expense! were in contemplation, which “might eventuate in a lien which would be prior and paramount to the lien of his mortgage.” The fact that Kennedy had completed the construction of the bnilding, and that the same and the land upon which it was situated were free and clear of all liens and incnmbrances at the time he borrowed the $10,000 and gave the mortgage thereon as security, would seem to indicate to the ordinary mind that he did not contemplate running in debt for the machinery. But the mortgagee was not bound to take notice of things which at the time of taking and recording his mortgage had no existence except in the “contemplation” of the mortgagor, — and there only, in the language of the opinion filed, in case of “ some contingency not remotely likely to happen.”
The statute, as construed by the majority of the court, is, in my judgment, repugnant to that provision of the constitution of the United States which declares that “ no state shall . . . deprive any person of life, liberty, or property without due process of law, nor deny to any person within its jurisdiction the equal protection of the laws.” Amendments, art. XIY, sec. 1. That provision was ordained and established for the very purpose of taking away from every state and its legislature every one of the powers thus prohibited. A majority of this court have just held, in an opinion by my Brother Newmah, that notice of forty days by publication in case of street assessments is not such due process of law as to conclude and bar the lot owner. Hayes v. Douglas Co. 92 Wis. —1 But here, as indicated, the plaintiff is divested of substantial property rights without any *618notice. True, tbe validity oí tbe statute, as thus construed, was not discussed at tbe bar, and is not mentioned in tbe opinion filed. Nevertheless, tbe effect of tbe decision is to divest tbe plaintiff of a vested right of property, without any notice, and by reason of transactions which occurred wholly after tbe recording of tbe mortgage, and which transactions bad no existence at tbe time of recording tbe mortgage, except as mere contingent possibilities in the contemplations of tbe mortgagor and tbe company.
But it is unnecessary to extend this discussion in a mere dissenting opinion on a point not mentioned, but necessarily decided, in tbe opinion filed. Besides, four years ago my views upon a similar question were expressed, and numerous authorities cited in support of them, in a dissenting opinion in Mallory v. La Crosse Abattoir Co. 80 Wis. 180-186. That decision gave a lien to a subcontractor without regard to tbe contract price or tbe sum due from tbe owner to tbe principal contractor. As there indicated, tbe validity of such legislation must finally be determined by tbe supreme court of tbe United States; and, until so determined, tbe question is open to tbe expression of opinion. In addition to tbe authorities cited in that opinion in support of the views here expressed, see St. Louis & S. F. R. Co. v. Gill, 156 U. S. 649; Ritchie v. People, 155 Ill. 98; Wallace v. G., C. & N. R. Co. 94 Ga. 132; State v. Julow, 31 S. W. Rep. 781.
Tbe opinion in tbe case at bar, like all other decisions of this court in support of tbe validity of such legislation, fails to meet tbe objection upon which this dissent is based. It purports to be based upon tbe letter of tbe statute,— assuming it to be a valid statute. Tbe construction given is certainly far-reaching in its effects, and strikes at tbe fundamental right of parties to make their own contracts and deal with property without being embarrassed by secret liens to be subsequently created. It frustrates and renders *619nugatory the salutary statute known as the recording act. The plaintiff here had the right to rely upon the statute which made all prior and unrecorded conveyances void as ■against his mortgage, taken and recorded in good faith and for full consideration paid. E. S. sec. 2241. A mortgage is a “ conveyance,” within the meaning of that section. E. S. sec. 2242. Since that is so as to existing secret liens and conveyances, it must, for a much stronger reason, be so as to a lien not created until weeks after the plaintiff recorded his mortgage. In my judgment, the statute may be fairly con'Strued as giving the,lien only from the time the machinery began to be put into the building. And especially should it be so construed since the rule is well settled that where a statute is open to two interpretations, one of which would render it nugatory and the other valid, that construction should be adopted which makes it valid.
The question of priority between mechanics’ liens and earlier mort.gages is the subject of a note to Wimberly v. Mayberry (94 Ala. 240) in 14 L. R. A. 305. — Rep.Eor the reasons given above and in my opinion in the Mallory Case, cited, I am compelled to dissent from the decision in this case.
The case of Hayes v. Douglas Co. was not finally determined until the denial of a motion for a rehearing on March 10, 1896, and it is reported as of that date.— Rep.