delivered the opinion of the Court:
This was a petition for a mechanic’s lien, brought by Henry G. Dawson and William B. Dawson, against Samuel U. Anderson, Robert J. Anderson and David A. Black.
There is no dispute in regard to the facts presented by the record. They are, in substance, as follows: July 10, 1891, the contract in controversy was entered into between the petitioners and Samuel U. and Robert J. Anderson. August 7, 1891, the work was commenced, and August 19, 1891, the work was completed. October 19, 1891, (being sixty days after the completion of the work,) in accordance with the terms of the contract, the money agreed to be paid ($152) became and was due. November 9, 1891, Robert J. and Samuel U. *487Anderson, with whom petitioners made the contract, gave their note to petitioners for $152, in settlement of the contract, being the amount due for the work, which note was made due and payable ninety days after date. December 14,1891, the statement for a lien was filed in the clerk’s office. January 9, 1892, appellee, Black, purchased the property of Samuel TJ. and Robert J. Anderson, the conveyance being made by warranty deed. February 9, 1892, the note in question became due. August 9,1892, the petition for a lien was filed.
It is admitted upon the record “that the petitioners performed their contract, and on the 19th day of October, 1891, had a lien upon the premises in controversy for the amount then due and unpaid—$152; that upon November 9, 1891, (the debt being then twenty days past due,) they accepted a note, which extended the time of the payment ninety days from November 9,1891, and that before this extended time of payment had expired, and within four months from the time the money became due under the original contract, the petitioners filed a statement of their claim with the clerk of the circuit court, as provided by statute.” But the Appellate Court held, that as the debt was not due when the claim was filed, the filing was not a compliance with the statute, so as to prevent the running of the limitation therein contained, and hence petitioners were not entitled to enforce the lien provided by the statute. The judgment was predicated on the construction placed by the court on sections 4 and 28 of the Lien law of 1874, as amended by the act of May 31, 1887. These sections are as follows:
“Sec. 4. Every creditor or contractor who wishes to avail himself of the provisions of this act shall file with the clerk of the circuit court of the county in which the building, erection or other improvement to be charged with the lien is situated, a just and true statement or account or demand due him, after allowing all the credits, setting forth the time when such material was furnished or labor performed, and contain*488ing a correct description of the property to be charged with the lien, and verified by an affidavit. Any person having filed a claim for lien, as provided in. this section, may bring suit at once to enforce the same, by bill or petition, in any court of competent jurisdiction in the county, where the claim for a lien has been filed.
“Sec. 28. No creditor shall be allowed to enforce a lien created under the provisions of this act, as against or to the prejudice of any other creditor or incumbrancer or purchaser, unless a claim for a lien shall have been filed with the clerk of the circuit court, as provided in section 4 of this act, within four months after the last payment shall have become due and payable. Suit shall be commenced within two years after filing such claim with the clerk of the circuit court, or the lien shall be vacated.”
It will be observed that the last clause of section 4 provides that any person having filed a claim for a lien, as provided in this section, may bring a. suit at once to enforce the same, by bill or petition, etc., and from this language it is contended, that as a suit is required to be brought at once upon the filing of the claim, the claim must, of necessity, be due when filed. We do not think the word “may,” as used in section 4, means “shall,” but, on the other hand, the word, as used, allows the petitioner to bring suit at once if the debt was then due; if not, suit may afterwards be brought when the debt matures. As has been seen, section 28 provides that no creditor shall be . allowed to enforce a lien, as against any other creditor or incumbrancer or purchaser, unless a claim for a lien shall have been filed with the clerk of the circuit court within four months after the last payment shall have become due. Manifestly, this provision has reference to the time payment becomes due by the terms of the contract entered unto by and between the parties, out of which the lien arose. Under section 1 of the Lien law the lien grows out of a contract, express or implied, or partly expressed and partly implied, with the owner of the *489premises, and, as held in Paddock v. Stout, 121 Ill. 571, the lien attaches from the date of the contract, and depends upon the provisions which the contract makes as to the time of payment, and not upon the notes which may afterwards be given. After the work has been completed and the last payment becomes due, as provided in the contract under which . the materials were furnished or labor performed, then the contractor has four months in which he is required to file a statement of his claim, as declared in section 4. If, however, the contractor has, by any subsequent agreement with the owner of the premises, extended the time of payment to some future day, that fact does not deprive him of the right to file his claim within the four months, nor does it relieve him of the duty to do so, as the statute in plain terms requires a just and true statement of the account to be filed within four months after the last payment is due. The contractor, after having filed a just and true statement of the account, is not compelled to institute a suit at once to enforce the lien, but by the express terras of the last clause of section 28 he may . do so at any time wit'hin two years after the filing of the statement. Here, under the contract, the debt became due October 19, 1891, and the statement was filed December 14,—less than two months after the debt was due. This we regard as a compliance with the statute.
We have been referred to decisions in other States, but as these decisions are predicated on statutes different from ours, they can not be regarded as authority which should control the decision of this case.
We think the petitioners, under the facts disclosed by the record, were entitled to a lien, and the circuit court erred in dismissing the petition, and the Appellate Court erred in affirming the judgment of the circuit court.
The judgments of the Appellate and circuit courts will be reversed, and the cause remanded to the circuit court.