New York Mechanics Lien Guide and FAQs

If contractors and suppliers don’t get paid on a construction project in New York, they can file a mechanics lien to secure payment. A mechanics lien is a legal tool that provides the unpaid party with a security interest in the property. This page breaks down the rules, requirements, and deadlines you need to follow to file a New York mechanics lien.

Quicklinks

“Levelset takes something that is pretty complex and makes it easy.”

Ready to file a lien in New York?

New York lien law deadlines for:

Preliminary notice deadlines

Send Your Notice

Mechanics lien deadlines

Generally, lien required w/in 8 months of last furnishing services. On single-family residential projects, w/in 4 months.

Enforcement deadlines

In New York, a mechanics lien is generally effective for one year after its filing, and an action to enforce the lien must be initiated within that period of time.

However, New York is one of the few states that allows the deadline to enforce a mechanics lien to be extended, potentially more than once.

Preliminary notice deadlines

Send Your Notice

Mechanics lien deadlines

Generally, lien required w/in 8 months of last furnishing services. On single-family residential projects, w/in 4 months.

Enforcement deadlines

In New York, a mechanics lien is generally effective for one year after its filing, and an action to enforce the lien must be initiated within that period of time.

However, New York is one of the few states that allows the deadline to enforce a mechanics lien to be extended, potentially more than once.

Preliminary notice deadlines

Send Your Notice

Mechanics lien deadlines

Generally, lien required w/in 8 months of last furnishing services. On single-family residential projects, w/in 4 months.

Enforcement deadlines

In New York, a mechanics lien is generally effective for one year after its filing, and an action to enforce the lien must be initiated within that period of time.

However, New York is one of the few states that allows the deadline to enforce a mechanics lien to be extended, potentially more than once.

Topic
Select State
select Back
to top

New York Mechanics Lien FAQs

Here are some frequently asked questions about New York mechanics liens, with answers written by construction attorneys and payment experts.

Who can file a New York mechanics lien?

The following parties are entitled to mechanics lien rights in New York: direct contractors, subcontractors, material suppliers, equipment lessors, laborers, design professionals, and landscape gardeners who performs labor or furnishes materials for the improvement of real property.

Except for suppliers, a lien claimant’s tier on a project is inconsequential. Suppliers to suppliers are not allowed to file a mechanics lien in New York.

Is a written contract required to file a mechanics lien in New York?

No, the general rule is that a written contract is not required to file a mechanics lien in New York. However, “home improvement” contracts in NY must be in writing and could potentially block the claimant’s ability to enforce their lien claim.

Can an unlicensed contractor file a New York mechanics lien?

No, if the work being performed requires a license, the claimant must be licensed in order to file a mechanics lien in New York.

When is the deadline to file a New York mechanics lien?

Generally, a New York mechanics lien can be filed at any time during the progress of the project, but no later than 8 months of the completion of the contract or the last date of furnishing labor or materials.

If the property is a single-family dwelling, a mechanics lien must be filed within 4 months of the completion of the contract or the last date of furnishing of labor or materials.

Special note on retainage: If the lien is based on unpaid retainage, that lien may be filed within 90 days after the retainage payment is due.

What information should be included in a New York mechanics lien?

A New York Notice of Lien is governed by NY Lien Law §9, and must contain the following information:

• Claimant’s name & address (Note: if the claimant is a partnership or corporation; then the business address, partners’ names, and principal place of business, or, if a foreign corporation, its principal place of business within the state or address of in-state attorney);
• Owner’s name, address, and interest in the property;
• Hiring party’s name & address;
• Description of labor and/or materials furnished;
• Lien amount claimed;
• First and last dates of furnishing labor and/or materials; &
• Property description, along with an indication whether the property is a single-family dwelling or not.

Does a New York mechanics lien need to include a legal property description?

No, a full legal property description is not required. In New York, a mechanics lien requires a description of “the property subject to the lien… sufficient for identification; and if in a city or village, its location by street and number, if known.

• NOTE: If the project is located in New York City, the block and lot number are required to be included.

Can attorney fees, collection costs, or other amounts be included in the lien amount?

No. In New York, the lien claim amount should be limited to the amount of unpaid labor, material and equipment supplied to the project. Indirect or consequential damages are not allowed in New York.

However, extra charges and change orders agreed to by the property owner may be included in the lien claim.

Does a New York mechanics lien need to be notarized?

Yes. New York law requires that a mechanics lien must be notarized to be valid and accepted for recording.

Where do I file and record a New York mechanics lien?

New York mechanics lien claims are documents recorded with the county recorder’s office. For your mechanics lien to be valid, you must record it in the county where the job is physically located. New York counties each have their own unique rules and requirements.

To help you, we’ve assembled all of the offices in New York that record mechanics liens. These pages will walk you through the county’s specific formatting requirements, deadlines, fees, process to file, and answers to frequently asked questions. Note, that some counties will also accept lien filings electronically.

How do I actually file a New York mechanics lien?

There are a lot of questions on this page about who can file a New York mechanics lien, when it must be filed, what types of rules apply, and more. But you may be wondering something much more practical: how do I actually get my mechanics lien recorded and filed?

• For a full breakdown of the process, you may want to consult: Step-by-Step Guide on How to File a New York Mechanics Lien

Do I need to send notice that the mechanics lien was recorded in New York?

Yes. New York requires that a copy of the lien be served on the owner of the property, the prime contractor, and the hiring party (if the claimant didn’t contract directly with the prime contractor). The copy of the lien must be served within 5 days before, or before 30 days after filing the notice of lien. Until the owner is served with the lien, they are protected in any payment made in good faith to a lien claimant.

Furthermore, a proof of service of the claim must be filed with the county clerk’s office no later than 35 days after the claim was filed.

Can I file a New York mechanics lien on a condominium?

A mechanics lien may be filed on individual units. However, if the work is performed on common areas, contractors cannot file a mechanics lien against the building unless unanimous approval for the work is obtained from all individual unit owners.

Can a New York mechanics lien be amended?

Yes, a filed New York mechanics lien may be amended, where the purpose is to reduce the amount of the lien, within 60 days of its filing only if:

• Claimant provides a 20 day notice of amendment to any existing lienors, mortgagees, and the owner; &
• No action or proceeding to enforce or cancel the claim has been filed.

When is the deadline to enforce a New York mechanics lien, or, how long is my lien effective?

In New York, a mechanics lien is generally effective for one year after its filing, and an action to enforce the lien must be initiated within that period of time.

This deadline can be shortened if the owner, or other interested party, us served with §59 Demand to Foreclose. If so, the claimant must initiate a foreclosure action or show cause why the lien should not be discharged, within 30 days of receipt.

However, New York also allows for a mechanics lien to be extended, potentially more than once, to extend the effective period of the lien.

An Extension of Mechanics Lien can be filed in the county clerk’s office within the enforcement deadline. Once recorded, the lien enforcement deadline will be extended for one year from the recording of the extension. A second extension may be permitted, but can only be done through a court order.

Any extension on a lien filed against a single-family dwelling is only available through a court order.

Can I collect the entire unpaid amount from the property owner if they have already paid the general contractor in full in New York?

No, New York is considered an “unpaid balance” lien state, meaning that a claimant’s amount is limited to the remaining contract price due to the general contractor at the time the claim is filed; also referred to in New York as the “lien fund.”

Does a New York lien have priority over pre-existing mortgages or construction loans?

Generally, pre-existing mortgages will have priority over a mechanics lien claim. Construction loans or “building loan contracts” are more complex, however. If filed before a mechanics lien claim they could have priority over lien claims, but only if the requirements of Lien Law Section 22 are met.

A mechanics lien generally has priority over encumbrances to the property recorded after the project began. As always in mechanic’s liens, certain exceptions apply. As between mechanics liens, the priority is based on tiers if there is not enough money to fully satisfy all claims. The order of preference is as follows:

  1. Laborers
  2. Subs and suppliers of subs
  3. Subs and suppliers of the GC
  4. Direct contractors

All claims in each tier must be satisfied before moving on to the next tier.

Who cancels the New York mechanics lien if/when I get paid?

Once a lien claimant receives payment, the lien may be canceled “by the certificate of the lienor, duly acknowledged or proved and filed in the office where the notice of lien is filed, stating that the lien is satisfied or released as to the whole or a portion of the real property affected thereby and may be discharged in whole or in part, specifying the part.

• For some practical guidance on the process: How do we release a New York lien?

People are asking New York construction attorneys:

https://www.levelset.com/payment-help/question/mechanics-lien-76/

mechanics lien

Especially if the work is residential, you may run into some trouble without a license, as there are often special requirements including contractual requirements as well. If it's commerical, you may still run into problems, but it's generally not as big of a deal since you're a subcontractor. Remember that it doesnt have to be a formal "signed contract;" if you submitted a proposal and began working without objection from the contractor then you likely have a contract. Lastly, please realize that you could have a breach of contract claim against the contractor, and not just lien rights. This is a tricky issue, be careful.

Answered by Austin Brown | Attorney

Lien against a building instead of an apartment owner?

Mechanic's liens are always filed as a lien against the "real property" (i.e. the building) as security which is why a mechanic's lien foreclosure lawsuit names the Owner as a party defendant. In other words, if you cannot collect against the contractor, subcontrator (or owner as the case may be) for breach of contract, you can foreclose on the property. Residential liens are good for four months from the last date of furnishing labor, materials or equipment and commercial is eight months. If you need an experienced construction lawyer, or simply to just have a lien filed, please feel free to reach out.

Answered by Austin Brown | Attorney

Can a Subcontractor File a Mechanic's Lien on my property?

The trade-off for a stranger to a property to be able to file a mechanic's lien directly against the property is that the owner cannot be made to pay for the same work twice. Since the contract balance has been fully paid to the general contractor, there is no lien fund, and no recovery can be had on the lien. While the subcontractor can file the lien and get a stamp from the County Clerk, that's all the subcontractor will have, and it will not be able to recover on the lien.

As a practical matter (and hopefully this subcontractor is represented by counsel who would understand the lien fund defense), offer to provide the subcontractor copies of the GC's final payment requisition, and copies of all payments totaling the adjusted contract sum. Then, you can explain that while you feel for the subcontractor and the situtation that they're now in, since the GC has been fully paid filing the mechanic's lien would be futile. You can also mention that since the GC has obviously been paid for that subcontractor's work, it seems that in addition to a simple breach of contract by the GC there may have been a diversion of statutory trust funds committed by one of the GC's principals, and that may permit personal liability.

Answered by Gregory Spaun | Partner

Best rated general contractors in New York

Progress Residential Dick's Sporting Goods Environmental Management Inc. Michels Corporation

Are others reporting slow payment?

Contractor name

Essential things to know about New York mechanics liens

New York’s mechanics lien laws provide substantial protection for contractors and suppliers. However, there are many requirements that must be followed in order for a construction participant to qualify for, maintain, perfect, and enforce lien rights. This page provides frequently asked questions about New York’s mechanics lien laws and rules, the lien statutes, and a breakdown of the lien and notice details for contractors and suppliers in New York.

How to file a Mechanics Lien in New York (DIY)

Read the guide

Construction payment New York

In our step-by-step guide, we will walk you through each step required to qualify for and file a New York mechanics lien. This guide explains the notices you need to send, the information required on the New York mechanics lien form, and essential tips about delivering it to the county office for recording.

Get the correct form

After you determine that you have the right to file, you need to get the correct New York claim of lien form. Our free, downloadable forms were written by construction attorneys. They meet all the strict requirements outlined under New York lien law. We make it easy to get this part right.

Fill the form out

Be careful! Accuracy is important.

Mechanics liens in New York require a lot of information, and it’s vitally important that you fill everything out correctly. Making a mistake on the lien form could invalidate your claim entirely. All of the information must be accurate, including the legal names of each party, the property description, the claim amount, and more. Review every detail carefully.

Serve the lien on the owner

NY mechanics lien step 2 - Serve the property owner

In New York, you must serve a copy of the lien on the owner. Failure to do this invalidates the mechanics lien.

The deadline to do this is either 5 days before the lien is recorded or 30 days after the lien is recorded. However, it’s best practice (and easier) to serve the lien before you file it.

You need to record an affidavit of service along with you lien claim to prove that it was served properly.

File the lien with the county clerk

Mechanics Lien Recorded

After the form is filled out and the owner has been served, it’s time to file the mechanics lien with the clerk of the New York county where the property is located. When you record your lien, make sure you include the affidavit of service along with it.

View a full list of New York clerk’s offices to find contact information, fees, and filing requirements.

After you file

4 steps after filing your lien: a video

Generally, a mechanics lien is valid for 1 (one) year after it’s filed in New York. Unless the lien is extended, you will need to enforce your lien claim within this deadline.

If you get paid, it’s a good idea to file a lien release form to discharge your lien claim.

Watch: How to file a NY mechanics lien

Want more?

We have a wide range of topics covered in our webinars and short video series. Watch more videos.

New York Mechanics Lien Statutes

The provisions of the New York mechanics lien laws that permit the filing of mechanics liens and materialman’s liens can be found in New York Lien Law, § 3 et. seq. The full text of the New York Construction Lien Law is provided below. Updated as of May 2023.

§ 1. Short title

This chapter shall be known as the “lien law.”

§ 2. Definitions

1. Lienor. The term “lienor,” when used in this chapter, means any person having a lien upon property by virtue of its provisions, and includes his successor in interest.

2. Real property. The term “real property,” when used in this chapter, includes real estate, lands, tenements and hereditaments, corporeal and incorporeal, fixtures, and all bridges and trestle work, and structures connected therewith, erected for the use of railroads, and all oil or gas wells and structures and fixtures connected therewith, and any lease of oil lands or other right to operate for the production of oil or gas upon such lands, and the right of franchise granted by a public corporation for the use of the streets or public places thereof, and all structures placed thereon for the use of such right or franchise.

3. Owner. The term “owner,” when used in this chapter, includes the owner in fee of real property, or of a less estate therein, a lessee for a term of years, a vendee in possession under a contract for the purchase of such real property, and all persons having any right, title or interest in such real property, which may be sold under an execution in pursuance of the provisions of statutes relating to the enforcement of liens of judgment, and all persons having any right or franchise granted by a public corporation to use the streets and public places thereof, and any right, title or interest in and to such franchise. The purchaser of real property at a statutory or judicial sale shall be deemed the owner thereof from the time of such sale. If the purchaser at such sale fails to complete the purchase, pursuant to the terms of the sale, all liens created by his consent after such sale shall be a lien on any deposit made by him and not on the real property sold.

4. Improvement. The term “improvement,” when used in this chapter, includes the demolition, erection, alteration or repair of any structure upon, connected with, or beneath the surface of, any real property and any work done upon such property or materials furnished for its permanent improvement, and shall also include any work done or materials furnished in equipping any such structure with any chandeliers, brackets or other fixtures or apparatus for supplying gas or electric light and shall also include the drawing by any architect or engineer or surveyor, of any plans or specifications or survey, which are prepared for or used in connection with such improvement and shall also include the value of materials actually manufactured for but not delivered to the real property, and shall also include the reasonable rental value for the period of actual use of machinery, tools and equipment and the value of compressed gases furnished for welding or cutting in connection with the demolition, erection, alteration or repair of any real property, and the value of fuel and lubricants consumed by machinery operating on the improvement, or by motor vehicles owned, operated or controlled by the owner, or a contractor or subcontractor while engaged exclusively in the transportation of materials to or from the improvement for the purposes thereof and shall also include the performance of real estate brokerage services in obtaining a lessee for a term of more than three years of all or any part of real property to be used for other than residential purposes pursuant to a written contract of brokerage employment or compensation.

5. Cost of improvement. The term “cost of improvement,” when used in this chapter, means expenditures incurred by the owner in paying the claims of a contractor, an architect, engineer or surveyor, a subcontractor, laborer and materialman, arising out of the improvement, and in paying the amount of taxes based on payrolls including such persons and withheld or required to be withheld and taxes based on the purchase price or value of materials or equipment required to be installed or furnished in connection with the performance of the improvement, payment of taxes and unemployment insurance and other contributions due by reason of the employment out of which any such claim arose, and payment of any benefits or wage supplements or the amounts necessary to provide such benefits or furnish such supplements, to the extent that the owner, as employer, is obligated to pay or provide such benefits or furnish such supplements by any agreement to which he is a party, and shall also include fair and reasonable sums paid for obtaining building loan and subsequent financing, premiums on bond or bonds filed pursuant to section thirty-seven of this chapter or required by any such building loan contract or by any lease to be mortgaged pursuant thereto, or required by any mortgage to be subordinated to the building loan mortgage, premiums on bond or bonds filed to discharge liens, sums paid to take by assignment prior existing mortgages, which are consolidated with building loan mortgages and also the interest charges on such mortgages, sums paid to discharge or reduce the indebtedness under mortgages and accrued interest thereon and other encumbrances upon real estate existing prior to the time when the lien provided for in this chapter may attach, sums paid to discharge building loan mortgages whenever recorded, taxes, assessments and water rents existing prior to the commencement of the improvement, and also those accruing during the making of the improvement, and interest on building loan mortgages, ground rent and premiums on insurance likewise accruing during the making of the improvement. The application of the proceeds of any building loan mortgage or other mortgage to reimburse the owner for any payments made for any of the above mentioned items for said improvement prior to the date of the initial advance received under the building loan mortgage or other mortgage shall be deemed to be an expenditure within the “cost of improvement” as above defined; provided, however, such payments are itemized in the building loan contract and/or other mortgage other than a building loan mortgage, and provided further, that the payments have been made subsequent to the commencement of the improvement.

5-a. Benefits and wage supplements. The term “benefits and wage supplements” as used in this chapter means all remuneration for employment paid in any medium other than cash, or reimbursement for expenses, or any payments which are not “wages” within the meaning of the law, including, but not limited to, health, welfare, non-occupational disability, retirement, vacation benefits, holiday pay and life insurance.

6. Public corporation. The term “public corporation,” when used in this chapter, means a municipal corporation or a district corporation or a public benefit corporation as such corporations are defined in section three of the general corporation law.

7. Public improvement. The term “public improvement,” when used in this chapter, means an improvement of any real property belonging to the state or a public corporation; however, if the beneficial interest of an improvement is in an entity other than the state or a public corporation notwithstanding legal title being vested in an industrial development agency created under article eighteen-A of the general municipal law, then such improvement shall be considered an improvement of real property subject to mechanics’ liens on real property as provided in section three of this chapter. Nothing contained in this section shall create or be deemed to create any liability upon any industrial development agency for the payment of the cost of any improvement, or otherwise. For the purposes of this subdivision the term “beneficial interest” shall mean the beneficial incidents of ownership of the improvement to include, but not be limited to, the right to possession, the right to claim tax benefits, if any, and the right to purchase or secure title to the improvement pursuant to an executory contract of sale, option agreement or lease.

8. Improvement of real property. The term “improvement of real property,” when used in this chapter, means any improvement of real property not belonging to the state or a public corporation.

9. Contractor. The term “contractor,” when used in this chapter, means a person who enters into a contract with the owner of real property for the improvement thereof, or with the state or a public corporation for a public improvement.

10. Subcontractor. The term “subcontractor” when used in this chapter, means a person who enters into a contract with a contractor and/or with a subcontractor for the improvement of such real property or such public improvement or with a person who has contracted with or through such contractor for the performance of his contract or any part thereof.

11. Laborer. The term “laborer,” when used in this chapter, means any person who performs labor or services upon such improvement.

12. Materialman. The term “materialman” when used in this chapter, means any person who furnishes material or the use of machinery, tools, or equipment, or compressed gases for welding or cutting, or fuel or lubricants for the operation of machinery or motor vehicles, either to an owner, contractor or subcontractor, for, or in the prosecution of such improvement.

The expression “furnishes material” or other similar expression wherever used in this chapter, shall be deemed to mean and include the reasonable rental value for the period of actual use of machinery, tools or equipment, and the value of compressed gases furnished for welding or cutting, and the value of fuel and lubricants consumed by machinery operating on, or by motor vehicles owned, operated or controlled by the owner, or a contractor or subcontractor while engaged exclusively in the transportation of materials to or from the improvement for the purposes thereof.

13. Building loan contract. The term “building loan contract,” when used in this chapter, means a contract whereby a party thereto, in this chapter termed “lender,” in consideration of the express promise of an owner to make an improvement upon real property, agrees to make advances to or for the account of such owner to be secured by a mortgage on such real property, whether such advances represent moneys to be loaned or represent moneys to be paid in purchasing from or in selling for such owner bonds or certificates secured by such mortgage upon such real property, providing, however, nothing herein contained shall be deemed to construe as a building loan contract a preliminary application for a building loan made by such owner and accepted by such lender if, pursuant to such application and acceptance, a building loan contract is thereafter entered into between the owner and the lender and filed as provided in section twenty-two of this chapter.

14. Building loan mortgage. The term “building loan mortgage,” when used in this chapter, means a mortgage made pursuant to a building loan contract and includes an agreement wherein and whereby a building loan mortgage is consolidated with existing mortgages so as to constitute one lien upon the mortgaged property.

15. Subsequent financing. By the term “subsequent financing” is meant moneys borrowed upon the security of the improvement after the recording of a building loan contract and/or mortgage other than a building loan mortgage upon the premises to be improved and within four months after the completion thereof.

16. Prior mortgage. By the term “prior mortgage” is meant a mortgage on real property and/or leasehold recorded prior to the commencement of an improvement thereon.

17. Consideration. The term “consideration” when used in this chapter, includes real property as defined in section two hereof, and personal property as defined in section thirty-nine of the general construction law.

18. Advances. The term “advances” when used in this chapter, includes money, real property as defined in section two hereof and/or personal property as defined in section thirty-nine of the general construction law.

19. Funds. The term “funds” when used in this chapter, includes money, real property as defined in section two hereof and/or personal property as defined in section thirty-nine of the general construction law.

20. Persons. The term “persons” when used in this chapter, includes an individual, partnership, association, trust or corporation.

§ 3. Mechanic's lien on real property

A contractor, subcontractor, laborer, materialman, landscape gardener, nurseryman or person or corporation selling fruit or ornamental trees, roses, shrubbery, vines and small fruits, who performs labor or furnishes materials for the improvement of real property with the consent or at the request of the owner thereof, or of his agent, contractor or subcontractor, and any trust fund to which benefits and wage supplements are due or payable for the benefit of such laborers, shall have a lien for the principal and interest, of the value, or the agreed price, of such labor, including benefits and wage supplements due or payable for the benefit of any laborer, or materials upon the real property improved or to be improved and upon such improvement, from the time of filing a notice of such lien as prescribed in this chapter. Where the contract for an improvement is made with a husband or wife and the property belongs to the other or both, the husband or wife contracting shall also be presumed to be the agent of the other, unless such other having knowledge of the improvement shall, within ten days after learning of the contract give the contractor written notice of his or her refusal to consent to the improvement. Within the meaning of the provisions of this chapter, materials actually manufactured for but not delivered to the real property, shall also be deemed to be materials furnished.

§ 4. Extent of lien

(1) Such lien shall extend to the owner’s right, title or interest in the real property and improvements, existing at the time of filing the notice of lien, or thereafter acquired, except as hereinafter in this article provided. If an owner assigns his interest in such real property by a general assignment for the benefit of creditors, within thirty days prior to such filing, the lien shall extend to the interest thus assigned. If any part of the real property subjected to such lien be removed by the owner or by any other person, at any time before the discharge thereof, such removal shall not affect the rights of the lienor, either in respect to the remaining real property, or the part so removed. If labor is performed for, or materials furnished to, a contractor or subcontractor for an improvement, the lien shall not be for a sum greater than the sum earned and unpaid on the contract at the time of filing the notice of lien, and any sum subsequently earned thereon. In no case shall the owner be liable to pay by reason of all liens created pursuant to this article a sum greater than the value or agreed price of the labor and materials remaining unpaid, at the time of filing notices of such liens, except as hereinafter provided.

(2) Such lien shall not extend to the owner’s right, title or interest in real property and improvements, existing at the time of filing the notice of lien if such lien arises from the failure of a lessee of the right to explore, develop or produce natural gas or oil, to pay for, compensate or render value for improvements made with the consent or at the request of such lessee by a contractor, subcontractor, materialman, equipment operator or owner, landscaper, nurseryman, or person or corporation who performs labor or furnishes materials for the exploration, development, or production of oil or natural gas or otherwise improves such leased property. Such lien shall extend to the improvements made for the exploration, development and production of oil and natural gas, and the working interest held by a lessee of the right to explore, develop or produce oil and natural gas.

(3) Notwithstanding subdivision two if a property owner is also a developer of oil and gas resources and is a party to an agreement with a person or firm authorized to perfect a lien arising out of the failure of such developer to compensate or render value for improvements to the property upon which an oil or gas well is drilled or established, the lien shall extend to the owners’ right or interest in such real property.

§ 4-A. Insurance proceeds liable for demands

Owner, contractor or subcontractor diverting proceeds, guilty of larceny. The proceeds of any insurance which by the terms of the policy are payable to the owner of real property improved, and actually received or to be received by him because of the destruction or removal by fire or other casualty of an improvement on which lienors have performed labor or services or for which they have furnished materials, shall after the owner has been reimbursed therefrom for premiums paid by him, if any, for such insurance, be subject to liens provided by this act to the same extent and in the same order of priority as the real property would have been had such improvement not been so destroyed or removed.

The proceeds of any insurance which by the terms of the policy are payable to a contractor or subcontractor, and actually received or to be received by him because of the destruction or removal by fire or other casualty of an improvement on which he has performed labor or services or for which he has furnished materials, shall, after such contractor or subcontractor has been reimbursed therefrom for premiums paid by him, if any, for such insurance, be liable for the payment of demands for labor or services performed or materials furnished by his order and for which he is liable, in the same manner and under the same conditions as payments to him under his contract would have been had such improvement not been so destroyed or removed.

§ 5. Liens under contracts for public improvements

A person performing labor for or furnishing materials to a contractor, his or her subcontractor or legal representative, for the construction or demolition of a public improvement pursuant to a contract by such contractor with the state or a public corporation, and any trust fund to which benefits and wage supplements are due or payable for the benefit of such person performing labor, shall have a lien for the principal and interest of the value or agreed price of such labor, including benefits and wage supplements due or payable for the benefit of any person performing labor, or materials upon the moneys of the state or of such corporation applicable to the construction or demolition of such improvement, to the extent of the amount due or to become due on such contract, and under a judgment of the court of claims awarded to the contractor for damages arising from the breach of such contract by the state, or awarded for furnishing labor or materials not contemplated by the provisions of said contract, upon filing a notice of lien as prescribed in this article, except as hereinafter in this article provided. Where no public fund has been established for the financing of a public improvement with estimated cost in excess of two hundred fifty thousand dollars, the chief financial officer of the public owner shall require the private entity for whom the public improvement is being made to post, or cause to be posted, a bond or other form of undertaking guaranteeing prompt payment of moneys due to the contractor, his or her subcontractors and to all persons furnishing labor or materials to the contractor or his or her subcontractors in the prosecution of the work on the public improvement.

§ 6. Liens for labor on railroads

Any person who shall hereafter perform any labor for a railroad corporation shall have a lien for the value of such labor upon the railroad track, rolling-stock and appurtenances of such railroad corporation and upon the land upon which such railroad track and appurtenances are situated, by filing a notice of such lien in the office of the clerk of any county wherein any part of such railroad is situated, to the extent of the right, title and interest of such corporation in such property, existing at the time of such filing. The provisions of this article relating to the contents, filing and entry of a notice of a mechanic’s lien, and the priority and duration thereof, shall apply to such liens. A copy of the notice of such lien shall be personally served upon such corporation within ten days after the filing thereof in the manner prescribed by the justice court act for the service of summons in actions in justices’ courts against domestic railroad corporations.

§ 7. Liability for advance payments, collusive mortgages, and incumbrances

Any payment by the owner, contractor or subcontractor upon a contract for the improvement of real property, made prior to the time when, by the terms of the contract, such payment becomes due, for the purpose of avoiding the provisions of this article, shall be of no effect as against the lien of a subcontractor, laborer, or materialman under such contract, created before such payment actually becomes due. A conveyance, mortgage, lien or incumbrance made by an owner of real property, for the purpose of avoiding the provisions of this article, with the knowledge or privity of the person to whom the conveyance is made or in whose favor the mortgage, lien or incumbrance is created, shall be void and of no effect as against a claim on account of the improvement of such real property, existing at the time of the making of the conveyance or the creation of such mortgage, lien or incumbrance.

Nothing in this chapter shall subject the title of a purchaser of real property for value whose conveyance is recorded prior to the filing of a lien pursuant to this chapter to any such lien, provided the instrument of conveyance contains the provisions mentioned in subdivision five of section thirteen.

§ 8. Terms of contract may be demanded

A statement of the terms of a contract made between an owner and a contractor, pursuant to which an improvement of real property is being made, and, of the amount due or to become due thereon shall be furnished upon demand in writing by the owner, or his duly authorized agent, to a subcontractor, laborer or material man performing labor for or furnishing materials to a contractor, or subcontractor, under such contract. If, within thirty days of such demand the owner refuses or neglects to furnish such statement or falsely states the terms of such contract or the amount due or to become due thereon, and a subcontractor, laborer or material man has not been paid the amount of his claim against a contractor or subcontractor, under such contract, and a judgment has been obtained and execution issued against such contractor or subcontractor and returned wholly or partly unsatisfied, the owner shall be liable for the loss sustained by reason of such refusal, neglect or false statement, and the lien of such subcontractor, laborer or material man, filed as prescribed in this article, against the real property improved for the labor performed or materials furnished after such demand, shall exist to the same extent and be enforced in the same manner as if such labor and materials had been directly performed for and furnished to such owner.

§ 9. Contents of notice of lien

The notice of lien shall state:

1. The name and residence of the lienor; and if the lienor is a partnership or a corporation, the business address of such firm, or corporation, the names of partners and principal place of business, and if a foreign corporation, its principal place of business within the state.

1-a. The name and address of the lienor’s attorney, if any.

2. The name of the owner of the real property against whose interest therein a lien is claimed, and the interest of the owner as far as known to the lienor.

3. The name of the person by whom the lienor was employed, or to whom he furnished or is to furnish materials; or, if the lienor is a contractor or subcontractor, the person with whom the contract was made.

4. The labor performed or materials furnished and the agreed price or value thereof, or materials actually manufactured for but not delivered to the real property and the agreed price or value thereof.

5. The amount unpaid to the lienor for such labor or materials.

6. The time when the first and last items of work were performed and materials were furnished.

7. The property subject to the lien, with a description thereof sufficient for identification; and if in a city or village, its location by street and number, if known; whether the property subject to the lien is real property improved or to be improved with a single family dwelling or not . A failure to state the name of the true owner or contractor, or a misdescription of the true owner, shall not affect the validity of the lien. The notice must be verified by the lienor or his agent, to the effect that the statements therein contained are true to his knowledge except as to the matters therein stated to be alleged on information and belief, and that as to those matters he believes it to be true.

§ 10. Filing of notice of lien

1. Notice of lien may be filed at any time during the progress of the work and the furnishing of the materials, or, within eight months after the completion of the contract, or the final performance of the work, or the final furnishing of the materials, dating from the last item of work performed or materials furnished; provided, however, that where the improvement is related to real property improved or to be improved with a single family dwelling, the notice of lien may be filed at any time during the progress of the work and the furnishing of the materials, or, within four months after the completion of the contract, or the final performance of the work, or the final furnishing of the materials, dating from the last item of work performed or materials furnished; and provided further where the notice of lien is for retainage, the notice of lien may be filed within ninety days after the date the retainage was due to be released; except that in the case of a lien by a real estate broker, the notice of lien may be filed only after the performance of the brokerage services and execution of lease by both lessor and lessee and only if a copy of the alleged written agreement of employment or compensation is annexed to the notice of lien, provided that where the payment pursuant to the written agreement of employment or compensation is to be made in installments, then a notice of lien may be filed within eight months after the final payment is due, but in no event later than a date five years after the first payment was made. For purposes of this section, the term “single family dwelling” shall not include a dwelling unit which is a part of a subdivision that has been filed with a municipality in which the subdivision is located when at the time the lien is filed, such property in the subdivision is owned by the developer for purposes other than his personal residence. For purposes of this section, “developer” shall mean and include any private individual, partnership, trust or corporation which improves two or more parcels of real property with single family dwellings pursuant to a common scheme or plan. The notice of lien must be filed in the clerk’s office of the county where the property is situated. If such property is situated in two or more counties, the notice of lien shall be filed in the office of the clerk of each of such counties. The county clerk of each county shall provide and keep a book to be called the “lien docket,” which shall be suitably ruled in columns headed “owners,” “lienors,” “lienor’s attorney,” “property,” “amount,” “time of filing,” “proceedings had,” in each of which he shall enter the particulars of the notice, properly belonging therein. The date, hour and minute of the filing of each notice of lien shall be entered in the proper column. Except where the county clerk maintains a block index, the names of the owners shall be arranged in such book in alphabetical order. The validity of the lien and the right to file a notice thereof shall not be affected by the death of the owner before notice of the lien is filed.

2. Where the county clerk indexes liens in a block index, every notice of lien presented to the clerk of a county of filing, in order to entitle the same to be filed, shall contain in the body thereof, or shall have endorsed thereon, a designation of the number of every block, on the land map of the county, which is affected by the notice of lien. The county clerk shall cause such notice of lien to be entered in the block index suitably ruled to contain the columns listed in the preceding paragraph, under the block number of every block so designated. In cases where a notice of lien shall have been filed without such designation or with an erroneous designation, the county clerk, on presentation of proper proof thereof, shall enter such instrument in the proper index, under the proper block number of every block in which the land affected is situated, and shall, at the same time, make a note of such entry and of the date thereof in every place in which such instrument may have been erroneously indexed, opposite the entry thereof, and also upon the instrument itself, if the same be in his possession or produced to him for the purpose, and the filing of such instrument shall be constructive notice as to property in the block not duly designated at the time of such filing only from the time when the same shall be properly indexed.

A county clerk may adopt a new indexing system utilizing electro-mechanical, electronic or any other method he deems suitable for maintaining the indexes.

§ 11. Service of copy of notice of lien

Within five days before or thirty days after filing the notice of lien, the lienor shall serve a copy of such notice upon the owner, if a natural person,

(a) by delivering the same to him personally, or if the owner cannot be found, to his agent or attorney, or

(b) by leaving it at his last known place of residence in the city or town in which the real property or some part thereof is situated, with a person of suitable age and discretion, or

(c) by registered or certified mail addressed to his last known place of residence, or

(d) if such owner has no such residence in such city or town, or cannot be found, and he has no agent or attorney, by affixing a copy thereof conspicuously on such property, between the hours of nine o’clock in the forenoon and four o’clock in the afternoon; if the owner be a corporation, said service shall be made (i) by delivering such copy to and leaving the same with the president, vice-president, secretary or clerk to the corporation, the cashier, treasurer or a director or managing agent thereof, personally, within the state, or (ii) if such officer cannot be found within the state by affixing a copy thereof conspicuously on such property between the hours of nine o’clock in the forenoon and four o’clock in the afternoon, or (iii) by registered or certified mail addressed to its last known place of business. Failure to file proof of such a service with the county clerk within thirty-five days after the notice of lien is filed shall terminate the notice as a lien. Until service of the notice has been made, as above provided, an owner, without knowledge of the lien, shall be protected in any payment made in good faith to any contractor or other person claiming a lien.

§ 11-A. Notice of completion and acceptance may be demanded

1. At any time before the construction or demolition of a public improvement is completed and accepted by the state or any political subdivision thereof, or by a public corporation or within thirty days thereof a person performing work for or furnishing materials to a contractor, his subcontractor, assignee or legal representative may file a written demand requiring notice of completion and acceptance be given to him upon the happening of such event.

2. Such demand shall be filed with the head of the department or bureau having charge of the construction or demolition. It shall state the name and address of the one making the demand; the name of the contractor or subcontractor for whom the labor was performed or materials furnished; the estimated amount of the entire value thereof; and a description of the public improvement upon which the labor was performed or the materials furnished.

3. Within five days of any completion and acceptance in respect to which a demand for notice has been filed pursuant to the provisions of this section the head of the department or bureau issuing the same shall cause written notice thereof to be mailed to the name and address of the one making the demand as recited therein.

4. The failure by the state, public corporation or any officer or employee thereof to give the notice required by this section shall not give rise to any cause of action; extend any period of time within which an act must be performed; or otherwise alter, affect or impair any other right or duty.

§ 11-B. Copy of notice of lien to a contractor or subcontractor

Within five days before or within thirty days after filing a notice of lien in accordance with section ten of this chapter or the filing of an amendment of notice of lien in accordance with section twelve-a of this chapter the lienor shall serve a copy of such notice or amendment by certified mail on the contractor, subcontractor, assignee or legal representative for whom he was employed or to whom he furnished materials or if the lienor is a contractor or subcontractor to the person, firm or corporation with whom the contract was made. A lienor having a direct contractual relationship with a subcontractor or a sub-subcontractor but not with a contractor shall also serve a copy of such notice or amendment by certified mail to the contractor. Failure to file proof of such a service with the county clerk within thirty-five days after the notice of lien is filed shall terminate the notice as a lien. Any lienor, or a person acting on behalf of a lienor, who fails to serve a copy of the notice of lien as required by this section shall be liable for reasonable attorney’s fees, costs and expenses, as determined by the court, incurred in obtaining such copy.

§ 11-C. Copy of notice of lien to a contractor or subcontractor with respect to public Improvement liens

Within five days before or simultaneously with filing a notice of lien in accordance with section twelve of this chapter or the filing of an amendment of a notice of lien in accordance with section twelve-a of this chapter with respect to a public improvement lien, the lienor shall serve a copy of such notice or amendment by certified mail on the contractor, subcontractor, assignee or legal representative for whom he was employed or to whom he furnished materials or if the lienor is a contractor or subcontractor to the person, firm or corporation with whom the contract was made. A lienor having a direct contractual relationship with a subcontractor or a sub-subcontractor but not with a contractor shall also serve a copy of such notice or amendment by certified mail to the contractor. The notice of lien so filed shall contain thereon or there shall be filed therewith proof of service of a copy of said lien upon the parties required to be served pursuant to this section, and failure to file proof of such service shall render the notice of lien a nullity. Any lienor, or a person acting on behalf of a lienor, who fails to serve a copy of the notice of lien as required by this section shall be liable for reasonable attorney’s fees, costs and expenses, as determined by the court, incurred in obtaining such copy.

§ 12. Notice of lien on account of public improvements

At any time before the construction or demolition of a public improvement is completed and accepted by the state or by the public corporation, and within thirty days after such completion and acceptance, a person performing work for or furnishing materials to a contractor, his subcontractor, assignee or legal representative, may file a notice of lien with the head of the department or bureau having charge of such construction or demolition and with the comptroller of the state or with the financial officer of the public corporation, or other officer or person charged with the custody and disbursements of the state or corporate funds applicable to the contract under which the claim is made. The notice shall state the name and residence of the lienor, the name of the contractor or subcontractor for whom the labor was performed or materials furnished, the amount claimed to be due or to become due, the date when due, a description of the public improvement upon which the labor was performed and materials expended, the kind of labor performed and materials furnished, and materials actually manufactured for but not delivered to such public improvement, and give a general description of the contract pursuant to which such public improvement was constructed or demolished. If the lienor is a partnership or a corporation, the notice shall state the business address of such partnership or corporation, the names of the partners, and if a foreign corporation, its principal place of business within the state. If the name of the contractor or subcontractor is not known to the lienor, it may be so stated in the notice, and a failure to state correctly the name of the contractor or subcontractor shall not affect the validity of the lien. The notice must be verified by the lienor or his agent, to the effect that the statements therein contained are true to his own knowledge, except as to the matters therein stated to be alleged on information and belief, and that as to those matters he believes it to be true. The comptroller of the state or the financial officer of the public corporation or other officer or person charged with the custody and disbursements of the state or corporate funds applicable to the contract under which the claim is made shall enter the same in a book provided for that purpose, to be called the “lien book”. Such entry shall include the name and residence of the lienor, the name of the contractor or subcontractor, the amount of the lien and date of filing, and a brief designation of the contract under which the lien arose.

§ 12-A. Amendment

1. Within sixty days after the original filing, a lienor may amend his lien upon twenty days notice to existing lienors, mortgagees and the owner, provided that no action or proceeding to enforce or cancel the mechanics’ lien has been brought in the interim, where the purpose of the amendment is to reduce the amount of the lien, except the question of wilful exaggeration shall survive such amendment.

2. In a proper case, the court may, upon five days’ notice to existing lienors, mortgagees and owner, make an order amending a notice of lien upon a public or private improvement, nunc pro tunc. However, no amendment shall be granted to the prejudice of an existing lienor, mortgagee or purchaser in good faith, as the case may be.

§ 13. Priority of liens

(1) A lien for materials furnished or labor performed in the improvement of real property shall have priority over a conveyance, mortgage, judgment or other claim against such property not recorded, docketed or filed at the time of the filing of the notice of such lien, except as hereinafter in this chapter provided; over advances made upon any mortgage or other encumbrance thereon after such filing, except as hereinafter in this article provided; and over the claim of a creditor who has not furnished materials or performed labor upon such property, if such property has been assigned by the owner by a general assignment for the benefit of creditors, within thirty days before the filing of either of such notices; and also over an attachment hereafter issued or a money judgment hereafter recovered upon a claim, which, in whole or in part, was not for materials furnished, labor performed or moneys advanced for the improvement of such real property; and over any claim or lien acquired in any proceedings upon such judgment. Such liens shall also have priority over advances made upon a contract by an owner for an improvement of real property which contains an option to the contractor, his successor or assigns to purchase the property, if such advances were made after the time when the labor began or the first item of material was furnished, as stated in the notice of lien. If several buildings are demolished, erected, altered or repaired, or several pieces or parcels of real property are improved, under one contract, and there are conflicting liens thereon, each lienor shall have priority upon the particular part of the real property or upon the particular building or premises where his labor is performed or his materials are used. Persons shall have no priority on account of the time of filing their respective notices of liens, but all liens shall be on a parity except as hereinafter in section fifty-six of this chapter provided; and except that in all cases laborers for daily or weekly wages shall have preference over all other claimants under this article.

(1-a) Parties having assignments of moneys due or to become due under a contract for the improvement of real property, unless such assignments be set aside as diversions of trust assets as provided in article three-a of this chapter, shall have priority as follows:
An assignee of moneys or any part thereof, due or to become due under a contract for the improvement of real property, whose assignment is duly filed prior to the filing of a notice of lien or assignment of every other party to the action, shall have priority over those parties to the extent of moneys advanced upon such assignment before the filing of the notice of lien or assignment next subsequent to his assignment, but as to moneys advanced subsequent to a notice of lien or assignment filed and unsatisfied or not discharged such assignee for the purpose of determining his proportionate share of moneys available for distribution as provided in subdivision one of this section shall be treated as a lienor having a lien to the extent of moneys so advanced.

An assignee of moneys or any part thereof, due or to become due under a contract for an improvement of real property whose assignment is duly filed subsequent to the filing of the notice of lien or assignment of any other party shall for the purpose of determining his proportionate share of moneys available for distribution, as provided in subdivision one of this section be treated as a lienor having a lien to the extent of moneys actually advanced upon such assignment prior to the filing thereof.

(2) When a building loan mortgage is delivered and recorded a lien shall have priority over advances made on the building loan mortgage after the filing of the notice of lien; but such building loan mortgage, whenever recorded, to the extent of advances made before the filing of such notice of lien, shall have priority over the lien, provided it or the building loan contract contains the covenant required by subdivision three hereof, and provided the building loan contract is filed as required by section twenty-two of this chapter. Every mortgage recorded subsequent to the commencement of the improvement and before the expiration of the period specified in section ten of this chapter for filing of notice of lien after the completion of the improvement shall, to the extent of advances made before the filing of a notice of lien, have priority over liens thereafter filed if it contains the covenant required by subdivision three hereof. The lien of a vendee under an executory contract for the sale of land and the improvement thereof by the construction of a building thereon shall, to the extent of amounts paid thereunder to the vendor before the filing of a notice of lien, have priority over liens filed after the contract or memorandum thereof is recorded as provided in section two hundred ninety-four of the real property law if the recorded contract or memorandum specifies the total amount of payments made by the vendee or required by the contract to be made by the vendee before conveyance of title.

(3) Every such building loan mortgage and every mortgage recorded subsequent to the commencement of the improvement and before the expiration of the period specified in section ten of this chapter for filing of notice of lien after the completion of the improvement shall contain a covenant by the mortgagor that he will receive the advances secured thereby and will hold the right to receive such advances as a trust fund to be applied first for the purpose of paying the cost of improvement, and that he will apply the same first to the payment of the cost of improvement before using any part of the total of the same for any other purpose, provided, however, that if the party executing the building loan contract is not the owner of the fee but is the party to whom such advances are to be made, a building loan contract executed and filed pursuant to section twenty-two of this chapter shall contain the said covenant by such party executing such building loan contract, in place of the covenant by the mortgagor in the building loan mortgage as hereinbefore provided. Nothing in this subdivision shall be considered as imposing upon the lender any obligation to see to the proper application of such advances by the owner; and nothing in this section, nor in that portion of section two of this chapter, defining “cost of improvement” shall be deemed to impair or subordinate the lien of any mortgage containing the covenant required by this subdivision. To the extent that the trust res consists of the right to receive advances as distinct from advances actually received, breach of the trust shall give rise to a civil action only. The covenant provided for herein shall be deemed to have been made and to be in full force and effect if, in lieu of the foregoing provisions, a statement in substantially the following form is contained in the mortgage or contract, “subject to the trust fund provisions of section thirteen of the lien law.”

(4) Nothing in subdivision two or three of this section shall apply to any mortgage given by a purchaser for value from an owner making the improvement and recorded prior to the filing of a lien pursuant to this chapter, provided the instrument of conveyance contains the provisions mentioned in subdivision five herein.

(5) No instrument of conveyance recorded subsequent to the commencement of the improvement, and before the expiration of the period specified in section ten of this chapter for filing of notice of lien after the completion of the improvement, shall be valid as against liens filed within a corresponding period of time measured from the recording of such conveyance, unless the instrument contains a covenant by the grantor that he will receive the consideration for such conveyance and will hold the right to receive such consideration as a trust fund to be applied first for the purpose of paying the cost of the improvement and that he will apply the same first to the payment of the cost of the improvement before using any part of the total of the same for any other purpose. Nothing in this subdivision shall be construed as imposing upon the grantee any obligation to see to the proper application of such consideration by the grantor. Nothing in this subdivision shall apply to a deed given by a referee or other person appointed by the court for the sole purpose of selling real property. Nothing in this subdivision shall apply to the consideration received by a grantor who, pursuant to a written agreement entered into and duly recorded prior to the commencement of the improvement, conveys to the person making such improvement, the land upon which such improvement is made. However, such a conveyance shall be subject to liens filed prior thereto, as provided by this chapter. To the extent that the trust res consists of the right to receive the consideration for such conveyance as distinct from the consideration actually received, breach of the trust shall give rise to a civil action only. The covenant provided for herein shall be deemed to have been made and to be in full force and effect if, in lieu of the foregoing provisions, a statement in substantially the following form is contained in the instrument of conveyance, “subject to the trust fund provisions of section thirteen of the lien law.”

Except that this section shall not apply to any mortgage taken by the home owners’ loan corporation, a corporation created under an act of congress, known as the “home owners’ loan act of nineteen hundred thirty-three,” and the “home owners’ loan act of nineteen hundred thirty-three as amended,” and said mortgage shall have priority over any and all liens filed subsequent to the date of the recording of said mortgage whether or not the cash and/or bonds for which said mortgage has been taken as security, shall have been advanced at the time of the execution of such mortgage or subsequent thereto, and it shall not be necessary to execute and file any building loan contract or any other contract, in compliance with this section or any part thereof.

(6) Every assignment of moneys, or any part thereof, due or to become due under a contract for the improvement of real property shall contain a covenant by the assignor that he will receive any moneys advanced thereunder by the assignee and will hold the right to receive such moneys as trust funds to be first applied to the payment of trust claims as defined in section seventy-one of the lien law, and that he will apply the same to such payments only, before using any part of the moneys for any other purpose.

§ 14. Assignment of lien

A lien, filed as prescribed in this article, may be assigned by a written instrument signed and acknowledged by the lienor, at any time before the discharge thereof. Such assignment shall contain the names and places of residence of the assignor and assignee, the amount of the lien and the date of filing the notice of lien, and be filed in the office where the notice of the lien assigned is filed. The facts relating to such an assignment and the names of the assignee shall be entered by the proper officer in the book where the notice of lien is entered and opposite the entry thereof. Unless such assignment is filed, the assignee need not be made a defendant in an action to foreclose a mortgage, lien or other incumbrance. A payment made by the owner of the real property subject to the lien assigned or by his agent or contractor, or by the contractor of a public corporation, to the original lienor, on account of such lien, without notice of such assignment and before the same is filed, shall be valid and of full force and effect. Except as prescribed herein, the validity of an assignment of a lien shall not be affected by a failure to file the same.

§ 15. Assignments of contracts and orders to be filed

1. No assignment of one or more contracts for the performance of labor or the furnishing of materials for the improvement of real property or of the money or any part thereof due or to become due therefor, nor an order drawn by a contractor upon the owner of such real property for the payment of such money, nor an order drawn by a subcontractor upon a contractor or subcontractor for such payment, nor an order drawn by an owner upon the maker of a building loan, nor an assignment of moneys due or to grow due under a building loan contract, shall operate to reduce the lien of a subcontractor, laborer or materialman, except as provided in sections thirteen and twenty-six of this chapter; nor shall any such assignment or order be valid for any purpose, unless a “Notice of Assignment” meeting the requirements of subdivision two of this section or the contract (other than a building loan contract) or a statement containing the substance thereof and such assignment or a copy of each or a copy of such order, be filed within ten days after the date of such assignment or such order, in the office of the county clerk of each county wherein real property improved or to be improved to which the assignment or order relates is situated and such assignment or order shall have effect and be enforceable from the time of such filing, and no such assignment or order shall have any validity until the same shall have been so filed, and every such assignment or order, not filed shall be absolutely void as against a subsequent assignee in good faith and for valuable consideration, whose assignment or order is first duly filed. Such clerk shall enter the facts relating to such assignment or order in the “lien docket” or in another book provided by him for such purpose. Each such assignment shall be indexed by the name of the assignor and each such order shall be indexed by the name of the drawer.

2. A “Notice of Assignment” filed pursuant to subdivision one of this section shall be used only in the case of money advanced or to be advanced to a contractor or subcontractor upon the assignment of one or more contracts for the performance of labor or the furnishing of materials for the improvement of real property, or of the money or any part thereof due or to become due therefor. The said notice shall contain (a) the names and addresses of the assignor and assignee, (b) the date of the assignment, and the date the assignment will terminate, which termination date shall not be more than two years after the date of the assignment, (c) the maximum balance of advances outstanding to be secured by the assignment, (d) a statement of each county wherein the real property involved in the contracts is or may be situated, and (e) either a specific description of the substance of the contract or contracts assigned, including an identification of the real property involved in each such contract, or a statement that the assignment covers all or a specified class of the assignor’s accounts or contract rights. If the contract or contracts assigned are described specifically the real property identification shall be sufficient if it includes the name of the record owner and the location of the real estate by street and number and town or city or, if the real estate is in the city of New York, by county, except that if the real estate is in the city of New York or counties of Nassau or Onondaga, where the block system of recording or registering and indexing conveyances is in use, the notice must also specify the block in which the real estate is situated.

3. A “Notice of Assignment” may be continued in effect beyond the stated termination date by filing within sixty days prior to the termination date a subsequent “Notice of Assignment” entitled “Second Notice of Assignment” or “Third Notice of Assignment”, which identifies the prior “Notice of Assignment” to which it relates and otherwise conforms to the requirements of subdivision two of this section.

4. The term “Notice of Assignment” as used in this section includes any amendments but if any amendment extends the assignment to cover additional contracts it is effective as to the added contracts only from the date of the filing.

§ 16. Assignment of contracts and orders for public improvement to be filed

No assignment of a contract for the performance of labor or the furnishing of materials for a public improvement, or of the money, or any part thereof, due, or to become due, therefor, nor an order drawn by the contractor or sub-contractor upon the public corporation, or the head of the department or bureau having charge of the construction or demolition of such public improvement, or the financial officer of the public corporation, or other officer or person charged with the custody and disbursement of the corporate funds applicable to the contract for such public improvement, shall be valid unless such assignment or order, or a copy thereof, be filed within twenty days after the date of such assignment of contract, or such assignment of money, or such order, with the head of the department or bureau having charge of such construction or demolition, and with the financial officer of the public corporation or other officer or person charged with the custody and disbursement of the corporate funds applicable to the contract for such public improvement, and such assignment or order shall have effect and be enforceable from the time of such filing, and no such assignment or order shall have any validity until the same shall have been so filed, and every such assignment or order, not filed, shall be absolutely void as against a subsequent assignee in good faith and for valuable consideration, whose assignment or order is first duly filed. The financial officer of the public corporation, or other officer or person with whom the assignment order, or copy thereof, is filed, shall enter the facts relating to the same in the lien book or other book provided for such purpose.

§ 17. Duration of lien

No lien specified in this article shall be a lien for a longer period than one year after the notice of lien has been filed, unless within that time an action is commenced to foreclose the lien, and a notice of the pendency of such action, whether in a court of record or in a court not of record, is filed with the county clerk of the county in which the notice of lien is filed, containing the names of the parties to the action, the object of the action, a brief description of the real property affected thereby, and the time of filing the notice of lien; or unless an extension to such lien, except for a lien on real property improved or to be improved with a single family dwelling, is filed with the county clerk of the county in which the notice of lien is filed within one year from the filing of the original notice of lien, continuing such lien and such lien shall be redocketed as of the date of filing such extension. Such extension shall contain the names of the lienor and the owner of the real property against whose interest therein such lien is claimed, a brief description of the real property affected by such lien, the amount of such lien, and the date of filing the notice of lien. No lien shall be continued by such extension for more than one year from the filing thereof. In the event an action is not commenced to foreclose the lien within such extended period, such lien shall be extinguished unless an order be granted by a court of record or a judge or justice thereof, continuing such lien, and such lien shall be redocketed as of the date of granting such order and a statement made that such lien is continued by virtue of such order. A lien on real property improved or to be improved with a single family dwelling may only be extended by an order of a court of record, or a judge or justice thereof. No lien shall be continued by court order for more than one year from the granting thereof, but a new order and entry may be made in each of two successive years. If a lienor is made a party defendant in an action to enforce another lien, and the plaintiff or such defendant has filed a notice of the pendency of the action within the time prescribed in this section, the lien of such defendant is thereby continued. Such action shall be deemed an action to enforce the lien of such defendant lienor. The failure to file a notice of pendency of action shall not abate the action as to any person liable for the payment of the debt specified in the notice of lien, and the action may be prosecuted to judgment against such person. The provisions of this section in regard to continuing liens shall apply to liens discharged by deposit or by order on the filing of an undertaking. Where a lien is discharged by deposit or by order, a notice of pendency of action shall not be filed.

A lien, the duration of which has been extended by the filing of a notice of the pendency of an action as above provided, shall nevertheless terminate as a lien after such notice has been canceled as provided in section sixty-five hundred fourteen of the civil practice law and rules or has ceased to be effective as constructive notice as provided in section sixty-five hundred thirteen of the civil practice law and rules.

§ 18. Duration of lien under contract for a public improvement

If the lien is for labor done or materials furnished for a public improvement, it shall not continue for a longer period than one year from the time of filing the notice of such lien, unless an action is commenced to foreclose such lien within that time, and a notice of the pendency of such action is filed with the comptroller of the state or the financial officer of the public corporation with whom the notice of such lien was filed; or unless an extension to such lien is filed with the comptroller of the state or the financial officer of the public corporation with whom the notice of such lien was filed within one year from the filing of the original notice of lien, continuing such lien and such lien shall be redocketed as of the date of filing such extension. Such extension shall contain the names of the lienor and the contractor or subcontractor for whom the labor was performed or materials furnished, a description of the public improvement upon which the labor was performed and materials expended, the amount of such lien, and the date of the filing of the notice of lien. No lien shall be continued by such extension for more than one year from the filing thereof. In the event an action is not commenced to foreclose the lien within such extended period, such lien shall be extinguished unless an order be granted by a court of record or a judge or justice thereof, continuing such lien, and a new docket be made stating such fact. No lien shall be continued by such order for more than one year from the granting thereof, but a new order and entry may be made in each of two successive years. If a lienor be made a party defendant in an action to enforce another lien, and the plaintiff or such defendant has filed a notice of the pendency of the action within the time prescribed in this section, the lien of such defendant is thereby continued. The provision of this section in regard to continuing liens shall apply to liens discharged by deposit or by order on the filing of an undertaking. This section is hereby declared to be a remedial statute and is to be construed liberally to secure the beneficial interests and purposes thereof.

§ 19. Discharge of lien for private improvement

A lien other than a lien for labor performed or materials furnished for a public improvement specified in this article, may be discharged as follows:

(1) By the certificate of the lienor, duly acknowledged or proved and filed in the office where the notice of lien is filed, stating that the lien is satisfied or released as to the whole or a portion of the real property affected thereby and may be discharged in whole or in part, specifying the part. Upon filing such certificate, the county clerk in the office where the same is filed, shall note the fact of such filing in the “lien docket” in the column headed “Proceedings had” opposite the docket of such lien.

(2) By failure to begin an action to foreclose such lien or to secure an order continuing it, within one year from the time of filing the notice of lien, unless an action be begun within the same period to foreclose a mortgage or another mechanic’s lien upon the same property or any part thereof and a notice of pendency of such action is filed according to law, but a lien, the duration of which has been extended by the filing of a notice of the pendency of an action as herein provided, shall nevertheless terminate as a lien after such notice has been cancelled or has ceased to be effective as constructive notice.

(3) By order of the court vacating or cancelling such lien of record, for neglect of the lienor to prosecute the same, granted pursuant to section fifty-nine of this chapter.

(4) Either before or after the beginning of an action by the owner or contractor executing a bond or undertaking in an amount equal to one hundred ten percent of such lien conditioned for the payment of any judgment which may be rendered against the property for the enforcement of the lien:

a. The execution of any such bond or undertaking by any fidelity or surety company authorized by the laws of this state to transact business, shall be sufficient; and where a certificate of qualification has been issued by the superintendent of financial services under the provisions of section one thousand one hundred eleven of the insurance law, and has not been revoked, no justification or notice thereof shall be necessary. Any such company may execute any such bond or undertaking as surety by the hand of its officers, or attorney, duly authorized thereto by resolution of its board of directors, a certified copy of which resolution, under the seal of said company, shall be filed with each bond or undertaking. Any such bond or undertaking shall be filed with the clerk of the county in which the notice of lien is filed, and a copy shall be served upon the adverse party. The undertaking is effective when so served and filed. If a certificate of qualification issued pursuant to subsections (b), (c) and (d) of section one thousand one hundred eleven of the insurance law is not filed with the undertaking, a party may except, to the sufficiency of a surety and by a written notice of exception served upon the adverse party within ten days after receipt, a copy of the undertaking. Exceptions deemed by the court to have been taken unnecessarily, or for vexation or delay, may, upon notice, be set aside, with costs. Where no exception to sureties is taken within ten days or where exceptions taken are set aside, the undertaking shall be allowed.

b. In the case of bonds or undertakings not executed pursuant to paragraph a of this subdivision, the owner or contractor shall execute an undertaking with two or more sufficient sureties, who shall be free holders, to the clerk of the county where the premises are situated. The sureties must together justify in at least double the sum named in the undertaking. A copy of the undertaking, with notice that the sureties will justify before the court, or a judge or justice thereof, at the time and place therein mentioned, must be served upon the lienor or his attorney, not less than five days before such time. Upon the approval of the undertaking by the court, judge or justice an order shall be made by such court, judge or justice discharging such lien.

c. If the lienor cannot be found, or does not appear by attorney, service under this subsection may be made by leaving a copy of such undertaking and notice at the lienor’s place of residence, or if a corporation at its principal place of business within the state as stated in the notice of lien, with a person of suitable age and discretion therein, or if the house of his abode or its place of business is not stated in said notice of lien and is not known, then in such manner as the court may direct. The premises, if any, described in the notice of lien as the lienor’s residence or place of business shall be deemed to be his said residence or its place of business for the purposes of said service at the time thereof, unless it is shown affirmatively that the person servicing the papers or directing the service had knowledge to the contrary. Notwithstanding the other provisions of this subdivision relating to service of notice, in any case where the mailing address of the lienor is outside the state such service may be made by registered or certified mail, return receipt requested, to such lienor at the mailing address contained in the notice of lien.

d. Except as otherwise provided in this subdivision, the provisions of article twenty-five of the civil practice law and rules regulating undertakings is applicable to a bond or undertaking given for the discharge of a lien on account of private improvements.

(5) Upon filing in the office of the clerk of the county where the property is situated, a transcript of a judgment of a court of competent jurisdiction, together with due proof of service of due notice of entry thereof, showing a final determination of the action in favor of the owner of the property against which the lien was claimed.

(6) Where it appears from the face of the notice of lien that the claimant has no valid lien by reason of the character of the labor or materials furnished and for which a lien is claimed, or where for any other reason the notice of lien is invalid by reason of failure to comply with the provisions of section nine of this article, or where it appears from the public records that such notice has not been filed in accordance with the provisions of section ten of this article, the owner or any other party in interest, may apply to the supreme court of this state, or to any justice thereof, or to the county judge of the county in which the notice of lien is filed, for an order summarily discharging of record the alleged lien. A copy of the papers upon which application will be made together with a notice setting forth the court or the justice thereof or the judge to whom the application will be made at a time and place therein mentioned must be served upon the lienor not less than five days before such time. If the lienor can not be found, such service may be made as the court, justice or judge may direct. The application must be made upon a verified petition accompanied by other written proof showing a proper case therefor, and upon the approval of the application by the court, justice or judge, an order shall be made discharging the alleged lien of record.

§ 20. Discharge of lien after notice of lien filed by payment of money into court

A lien specified in this article, other than a lien for performing labor or furnishing materials for a public improvement, may be discharged after the notice of lien is filed at any time before an action is commenced to foreclose such lien, by depositing with the county clerk, in whose office the notice of lien is filed, a sum of money equal to the amount claimed in such notice, with interest to the time of such deposit. After such deposit is made and the lien is discharged the county treasurer or any other officer with whom the money is deposited shall, within ten days thereafter, send a notice by mail to the lienor, at the address given in the lien, that such lien has been discharged by deposit. After action to foreclose the lien is commenced it may be discharged by a payment into court of such sum of money, as, in the judgment of the court or a judge or justice thereof, after at least five days’ notice to all the parties to the action, will be sufficient to pay any judgment which may be recovered in such action. Upon any such payment, the county clerk shall forthwith enter upon the lien docket and against the lien for the discharge of which such moneys were paid, the words “discharged by payment. ” A deposit of money made as prescribed in this section shall be repaid to the party making the deposit, or his successor, upon the discharge of the liens against the property pursuant to law. All deposits of money made as provided in this section shall be considered as paid into court and shall be subject to the provisions of law relative to the payment of money into court and the surrender of such money by order of the court. An order for the surrender of such moneys to the lienor or depositor may be made by any court of record having jurisdiction of the parties. If no action is brought in a court of record to enforce such lien, such order may be made by any judge of a court of record. If application for such order is made by lienor it shall be on notice to the depositor; if made by the depositor then on notice to the lienor.

§ 21. Discharge of lien for public improvement

A lien against the amount due or to become due a contractor from the state or a public corporation for the construction or demolition of a public improvement may be discharged as follows:

1. By filing a certificate of the lienor or his successor in interest, duly acknowledged and approved, stating that the lien is discharged.

2. By lapse of time as follows:

(a) When one year has elapsed since the filing of the notice of lien or an extension thereof, unless, before the expiration thereof, either an extension or an order continuing said lien has been filed in the office where the notices are filed, or a notice of the pendency of an action to enforce said lien has been filed as provided in section eighteen of this article.

(b) When the period of time for which the lien has been continued by order has expired, unless, before the expiration thereof, either an order continuing said lien for a further period of time has been filed in the offices where the notices are filed, or a notice of the pendency of an action to enforce said lien has been filed as provided in section eighteen of this article.

3. By satisfaction of a judgment rendered in an action to enforce the lien.

3-a. Under the provisions of subdivisions four, five and six of this section a discharge of lien shall only operate to relieve the comptroller of the state or the financial officer of the public corporation or the officer or person with whom the lien is filed of any and all liability imposed upon such officer by reason of the filing of the lien. Such lien shall be a valid and subsisting lien for all other purposes until discharged as prescribed by the provisions of the other subdivisions of this section.

4. By the contractor applying without notice to the supreme court of this state or to any justice thereof or to the county judge of any county for an order discharging such lien and depositing with the comptroller of the state or the financial officer of the public corporation, or the officer or person with whom the notice of lien is filed, such a sum of money as is directed by a judge or a justice of the court, which shall not be less than the amount claimed by the lienor, with interest thereon for the term of one year from the time of making such deposit, and such additional amount as the judge or justice deems sufficient to cover all costs and expenses. The amount so deposited shall remain with the comptroller or such financial officer or other officer or person until the lien is otherwise discharged as prescribed in this section.

(5) Either before or after the beginning of an action by a contractor or subcontractor executing a bond or undertaking in an amount equal to one hundred ten percent of such lien conditioned for the payment of any judgement which may be recovered in an action to enforce the lien:

a. The execution of any such bond or undertaking by any fidelity or surety company authorized by the laws of this state to transact business, shall be sufficient; and where a certificate of qualification has been issued by the superintendent of financial services under the provisions of section one thousand one hundred eleven of the insurance law, and has not been revoked, no justification or notice thereof shall be necessary. Any such company may execute any such bond or undertaking as surety by the hand of its officers, or attorney, duly authorized thereto by resolution of its board of directors, a certified copy of which resolution, under seal of said company, shall be filed with each bond or undertaking. Any such bond or undertaking shall be filed with the state or the public corporation with which the notice of lien is filed and a copy shall be served upon the adverse party. The undertaking is effective when so served and filed. If a certificate of qualification issued pursuant to subsections (b), (c) and (d) of section one thousand one hundred eleven of the insurance law is not filed with the undertaking, a party may except, to the sufficiency of a surety and by a written notice of exception served upon the adverse party within ten days after receipt, a copy of the undertaking. Exceptions deemed by the court to have been taken unnecessarily, or for vexation or delay, may, upon notice, be set aside, with costs. Where no exception to sureties is taken within ten days or where exceptions taken are set aside the undertaking shall be allowed.

b. In the case of bonds or undertakings not executed pursuant to paragraph a of this subdivision, the owner or contractor shall execute an undertaking with two or more sufficient sureties, who shall be free holders, to the state or public corporation with which the notice of lien is filed. The sureties must together justify in at least double the sum named in the undertaking. A copy of the undertaking, with notice that the sureties will justify before the court, or a judge or justice thereof, at the time and place therein mentioned, must be served upon the lienor or his attorney, not less than five days before such time. Upon the approval of the undertaking by the court, judge or justice an order shall be made by such court, judge or justice discharging such lien.

c. If the lienor cannot be found, or does not appear by attorney, then service under this subsection may be made as prescribed in paragraph c of subdivision four of section nineteen of this article for the service of an undertaking with notice of justification of sureties. Notwithstanding the other provisions of this subdivision relating to service of notice, in any case where the mailing address of the lienor is outside the state such service may be made by registered or certified mail, return receipt requested, to such lienor at the mailing address contained in the notice of lien.

d. Except as otherwise provided in this subdivision, the provisions of article twenty-five of the civil practice law and rules regulating undertakings is applicable to a bond or undertaking given for the discharge of a lien on account of public improvements.

6. Where a contractor has to his credit with the state or with a public corporation, a sum of money by reason of an estimate due and payable to him, and where payment of such estimate is withheld because a notice of lien has been filed against his interest in said money, and where said money is in excess of the amount claimed in the notice of lien, the contractor may apply without notice to the supreme court of this state or to any justice thereof or to the county judge of any county, for an order discharging such lien and directing the comptroller of the state or the financial officer or person with whom the lien is filed, to retain from such estimate a sum of money, which shall not be less than the amount claimed by the lienor, with interest thereon for one year and such additional amount as the judge or justice deems sufficient to cover all costs and expenses and to immediately pay over the balance of such estimate to the contractor. The amount so retained shall be held by the comptroller or such financial officer or other officer or person until the lien is otherwise discharged as provided in this section. The application for the order may be made upon an affidavit of the contractor or his attorney and where there is of record an assignment of all moneys the written consent of such assignee must be presented to the court showing a proper case therefor.

6-a. Where a contractor has to his credit with the state, or with a public corporation, a sum of money by reason of an estimate due and payable to him, and where payment of such estimate is withheld because a notice of lien has been filed against his interest in said money, and where the amount due and payable under said estimate is at least one and one-half times in excess of the amount stated to be due in said notice of lien, the comptroller of the state or the financial officer or person with whom the notice of lien is filed, may pay said estimate, after deducting therefrom a sum which shall be one and one-half times the amount stated to be due in said notice of lien, and said sum so deducted shall be withheld until said lien is otherwise discharged, as provided in this section.

7. Where it appears from the face of the notice of lien that the claimant has no valid lien by reason of the character of the labor or materials furnished and for which a lien is claimed, or where the notice of lien is invalid by reason of failure to comply with the provisions of section twelve of this article, or where it appears from the public records that such notice has not been filed in accordance with the provisions of section twelve of this article, the contractor or any other party in interest, may apply to the supreme court of this state, or to any justice thereof, or to the county judge of the county in which the notice of lien is filed, for an order summarily discharging of record the alleged lien. A copy of the papers upon which application will be made together with a notice setting forth the court or the justice thereof or the judge to whom the application will be made at a time and place therein mentioned must be served upon the lienor not less than five days before such time. If the lienor can not be found, such service may be made as the court, justice or judge may direct. The application must be made upon a verified petition accompanied by other written proof showing a proper case therefor, and upon the approval of the application by the court, justice or judge, an order shall be made discharging the alleged lien of record.

8. By order of the court vacating or canceling such lien of record, for neglect of the lienor to prosecute the same, granted pursuant to section twenty-one-a of this article.

§ 21-A. Vacating lien for a public improvement, by order of court

A lien against the amount due or to become due a contractor from the state or a public corporation, for the construction or demolition of a public improvement, may be vacated and canceled by an order of the supreme court. Before such order shall be granted, a notice shall be served upon the lienor personally or, in such manner as the court may direct. Such notice shall require the lienor to commence an action to enforce the lien within a time specified in the notice, not less than thirty days from the time of service, or show cause at a special term of the supreme court in the judicial district embracing the county wherein the notice of lien is filed, at a time and place specified therein, why the notice of lien should not be vacated and canceled of record. Proof of such service and that the lienor has not commenced the action to foreclose such a lien, as directed in the notice, shall be made by affidavit, at the time of applying for such order.

§ 22. Building loan contract

A building loan contract either with or without the sale of land, and any modification thereof, must be in writing and duly acknowledged, and must contain a true statement under oath, verified by the borrower, showing the consideration paid, or to be paid, for the loan described therein, and showing all other expenses, if any, incurred, or to be incurred in connection therewith, and the net sum available to the borrower for the improvement, and, on or before the date of recording the building loan mortgage made pursuant thereto, to be filed in the office of the clerk of the county in which any part of the land is situated, except that any subsequent modification of any such building loan contract so filed must be filed within ten days after the execution of any such modification. No such building loan contract or any modification thereof shall be filed in the register’s office of any county. If not so filed the interest of each party to such contract in the real property affected thereby, is subject to the lien and claim of a person who shall thereafter file a notice of lien under this chapter. A modification of such contract shall not affect or impair the right or interest of a person, who, previous to the filing of such modification had furnished or contracted to furnish materials, or had performed or contracted to perform labor for the improvement of real property, but such right or interest shall be determined by the original contract. The county clerk is entitled to a fee of twenty-five dollars, except in counties within the city of New York where the fee shall be fifty dollars, for filing such a contract or modification. Except where the county clerk maintains a block index, such contracts and modifications thereof shall be indexed in a book provided for that purpose, in the alphabetical order of the names of the persons to whom such loans shall be made. No assignment of the moneys due or to become due under a building loan contract, under the provisions of section twenty-six of this article, nor any payment to the holder of such assignment, shall be or be construed to be a modification of a building loan contract within the meaning of this section, and the execution and delivery of a bond and mortgage, under the provisions of section twenty-six of this article, or payments thereunder, shall not be or be construed to be the making of a building loan contract within the meaning of this section.

Except that this section shall not apply to any mortgage taken by the home owners’ loan corporation, a corporation created under an act of congress, known as the “home owners’ loan act of nineteen hundred thirty-three” and the “home owners’ loan act of nineteen hundred thirty-three as amended,” and said mortgage shall have priority over any and all liens filed subsequent to the date of the recording of said mortgage whether or not the cash and/or bonds for which said mortgage has been taken as security, shall have been advanced at the time of the execution of such mortgage or subsequent thereto, and it shall not be necessary to execute and file any building loan contract or any other contract, in compliance with this section or any part thereof.

Where the county clerk indexes liens in a block index, every building loan contract presented to the clerk for filing, in order to entitle the same to be filed, shall contain in the body thereof, or shall have endorsed thereon, a designation of the number of every block, on the land map of the county, which is affected by the building loan contract. The county clerk shall cause such building loan contract to be entered in the block index, under the block number of every block so designated. In cases where a building loan contract shall have been filed without such designation or with an erroneous designation, the county clerk, on presentation of proper proof thereof, shall enter such instrument in the proper index, under the proper block number of every block in which the land affected is situated, and shall, at the same time, make a note of such entry and of the date thereof in every place in which such instrument may have been erroneously indexed, opposite the entry thereof, and also upon the instrument itself, if the same be in his possession or produced to him for the purpose, and the filing of such instrument shall be constructive notice as to property in the block not duly designated at the time of such filing only from the time when the same shall be properly indexed.

A county clerk may adopt a new indexing system utilizing electro-mechanical, electronic or any other method he deems suitable for maintaining the indexes.

§ 23. Construction of article

This article is to be construed liberally to secure the beneficial interests and purposes thereof. A substantial compliance with its several provisions shall be sufficient for the validity of a lien and to give jurisdiction to the courts to enforce the same.