The bill in this case is filed under' the Mechanics’ Lien statute of this state “to secure the payment of laborers and other persons who furnish work and materials for public improvements in municipalities of this state,” approved March 30th, 1892. Gen Stat. p. 2078.
The proofs show that a notice was, in accordance with the statute, filed against the fund remaining in the custody of the borough of Haddonfield by the complainants on the 17th day of April, 1902, with the proper officer of the borough, claiming the sum of $3,191.58 from the portion of the contract price due, or to grow due, to John Quinlan, who had. contracted with the borough to construct a system of sewers and sewer disposal for a named price.
The borough of Haddonfield is a municipality of this state. The contract with Quinlan was. made on the 8th day of September, 1901, and required that he should furnish both the work and material for the system of sewage and sewage disposal projected within that borough.
*186The defendant the City Trust Company, by a bond which accompanied Quinlan’s contract, became surety for his faithful performance of it.
Quinlan shortly after entered upon tire performance of his contract and continued (with a cessation of a few days in Eovembor, 1901), until the month of April, 1902, when he abandoned the work.
The eighteenth section of the borough’s contract with Quinlan is in these words:
“In case of any unnecessary or -inexcusable delay in tlie general conduct oí the work, or in the event of an actual or practical abandonment of the work, the engineer will notify the contractor and the bondsmen in writing to that effect. If the contractor shall not' within five consecutive days thereafter take such measures as will, in the judgment of the engineer, insure the satisfactory completion of the work in the time specified, or in a reasonable time thereafter if he has been permitted to continue beyond the time specified as provided elsewhere in this contract, the engineer may then, by and with the consent of the borough council of said borough, notify the aforesaid contractor to discontinue all work under this contract, and it is hereby agreed that the con-, tractor is to immediately respect said notice and stop work. The engineer shall thereupon have the power to take such and as many persons as he may deem advisable, by contract or otherwise, to work at and complete the work herein described and to use such plant, horses, carts, tools and materials belonging to- or leased by the contractor as he may find on the work and in the yards and storehouses of the contractor, or to procure by lease or purchase other materials, machinery or appliances for the completion of the same, and to charge the expense of said labor and materials, machinery and appliances to the aforesaid 'contractor, and the expense so charged shall be deducted and paid to the party of tho first part out of any such moneys as may then be due to the said contractor under and by virtue of this agreement, or any part thereof; and in case such expense is less than the sum which would have been payable for such work under this contract, if the same had been completed by the party of the second part, the contractor shall be entitled to receive the difference. If the expense is greater, then flic bondsmen will be called upon to make good the difference.”
Pursuant to this clause, when Quinlan abandoned the further performance of the contract, the engineer for the borough gave the first notice by a letter, dated April 16th, 1902, to the bondsmen, the City Trust Company, that the work had been abandoned by Quinlan, and that if such measures as would *187insure satisfactory completion of the work under the contract were not taken in five daj's the engineer would be obliged to notify the contractor and his surety to cease the work, and that the borough would complete it in accordance with the terms of the contract. Very shortly after this notice was given, the defendant the City Trust Company, the surety on Quinlan’s bond (without waiting for or receiving any second notice to the effect that the borough would proceed to complete the work), made its arrangements.to proceed itself with the performance of Quinlan’s contract. If the borough desired to exercise its privilege to have its engineer complete the work, the contract required that the borough council should consent and that the engineer should give a second notice to the contractor. that he discontinue all work under the contract. This was obviously necessary in order that there should be no confusion, which might arise if the contractor and the engineer were both working at the same time in completing the improvement.
This second notice (preliminary to the assumption of the completion of the contract work by the engineer) was not given. In fact the engineer never undertook to complete the residue of the work which the contractor had left unfinished. The defendant the City Trust Company, surety for Quinlan, acting for him and in his place, completed the performance of the contract work in accordance with his contract.
The City Trust Company claims that the work which it has done in finishing that which Quinlan had left undone was by virtue of a new agreement which it entered into with the borough of Haddonfield. Ho such agreement was made in writing, nor did the borough, by its council, or even by its executive officers, definitely agree at any time with the City Trust Company that it should complete the work. Desultory conversations between the representative of the City Trust Company and the officers of the borough, casually held at various times on the subject of the completion of the work, and the fact that the City Trust Company, acting for Quinlan, actually did it, are claimed to have amounted to a new contract between the borough and the City Trust Company.
*188It is explicitly denied by the borough officers that there ever was any such new or substituted contract. They testify that the defendant company proceeded with the performance of Quinlan’s contract as his surety, and that no other agreement whatever was made between that company and the borough on the subject. The attending'circumstances support the testimony of the borough officers. No definite terms of any such contract are proven. The defendant company in fact took the place of Quinlan, and in his stead performed his contract as his surety. It carried on the work in every detail as he had agreed to do, and accepted partial payments for work done at various stages in the completion of his contract at the prices agreed to be allowed him by orders or certificates drawn payable to John Quinlan, or bearer.
At the time when the contractor, Quinlan, in April, 1902, abandoned the contract, $2,115.01 was due and payable to him for work theretofore done by him under the contract. This portion of the fund was actually due to Quinlan when the complainant’s lien notice was filed. In addition to the $2,115.01, there was another sum of $3,711.75 which had also been earned by Quinlan by work done under the contract. This was the twenty per cent, retained under section 25 of the contract, which, under section 26, became payable to the contractor within fifteen Jays after the engineer should have certified that the work had been finally completed on the part of the contractor. This is the portion of the fund which when the lien notice was filed was “to grow due” to Quinlan. The fifth section of the statute attaches the lien to “any funds which may be dufe or to grow due to said contractor” from the municipality under the contract. Both these portions of the contract price were earned by Quinlan, and both were, under the operation of the statute, attached by the filing of the complainant’s lien claim. The whole work has now been completed on the part of the contractor, and the complainant’s lien claim, which attached to both the money due and that to grow due, has now fully ripened, and is entitled to be paid by the borough.
By an agreement made between the borough and the City *189Trust Company since the whole work has been completed and accepted, the sum of $5,000, part of the above total, has been retained to satisfy the lien claimants if they maintain their claims.
The borough asserts no interest in this money, and simply retains it until the court shall determimne ■ who is rightfully entitled to it. The City Trust Company, the defendant who now claims this money, did not do- the work or furnish the material by which it came to be owing. As above stated, this money was all earned by Quinlan, and would now be due and payable to him, save for the statutory liens filed against it.
The defendant company contends that the statute makes no provision for any lien in case of the abandonment of the contract.
The purpose and object of the statute is fairly indicated in its title. It is there declared to be an act to secure the payment of persons employed upon or furnishing materials towwrd the performance of any work on public improvements in the municipalities of this state. The first section also declares that any person doing any work or furnishing any material "toward the performance or completion" "of any contract with a municipality for a public improvement shall have a lien. The right to a lien arises when the work or material is supplied towards the performance of the contract, not when it is completely finished. The second section, in terms, prescribes that the notice of claim may be filed at any time before the whole work to be performed is completed, or within fifteen days afterwards. The right to the lien is inchoate until perfected by the filing of the notice. It is true there can be no compulsion of payment until after the contract is completed, for until that has happened it cannot be known who all the respective lien claimants are, in order to adjudge their claims (section 8), or whether the municipality has any right to retain any part of the contract price to reimburse itself for any losses it may have suffered in completing the work. This necessary postponement of the ascertainment of the respective lien claimants, and of the payment of the portion of the contract price to which they may be en*190titled, does not prevent the claimant from perfecting his lien on such part of the contract price as may be either due or to grow due to the contractor, for by the express words of the statute (section 5) the lien attaches from the time of the filing of the lien notice, and obviously has effect whether the contractor is proceeding with performance of the contract or has abandoned it. The lien attaches not because of the act of the contractor in having finished the performance of his contract, but because of the act of the lien claimant in furnishing labor or material towards the performance of it and giving notice thereof as prescribed by the statute. The subject-matter of the lien is the fund due or to grow due to the contractor, which means not only what is due to the contractor at the time the lien notice is filed, but also what may thereafter come to be due to him.
The defendant the City Trust Company, surety for Quinlan on his contract, claims that it should be subrogated to the position and rights which the borough of Haddonfield might have acquired under the contract if it had notified the contractor to cease the work and had directed its engineer to complete the performance under section 18 of tire contract. The section provides that if the contractor be noticed to quit all work, the borough engineer might seize the contractor’s equipment and complete the contract work, charging the expenses against any moneys which might then be due to -the contractor under the contract.
The defendant thé City Trust Company contends that, having performed the 'contract according to its terms, it is entitled to apply this fund of $5,826.76 (earned by but unpaid to the defaulting contractor, Quinlan), to satisfy its losses incurred in the completion of the work, and that it is entitled to precedence over the lien creditors in the application of these funds admittedly earned by Quinlan on the contract work. The surety bond given by the City Trust Company contains a provision that if any liability should accrue on the part of the surety by reason of that obligation, after settlement of the same, the surety should be subrogated to the rights and remedies which'the *191borough would have against Quinlan on that obligation or against any other person.
The equitable principle of subrogation entitles a surety who performs the work upon which his principal has defaulted to have the benefit of the securities and remedies against his prin-' cipal, which the other party to the contract may hold. If the other party never had any security or remedy against the principal, there is nothing to which the surety can be subrogated.
In the present case the complainant insists that the borough did not take the steps prescribed by the contract (section 18), by which its engineer might possess himself of the contractor’s equipment and complete the work, charging-the expenses to him and paying them out of any moneys due -the contractor under the contract; that the borough never acquired the position which by section 18 of the contract might have -enabled it to retain the moneys owing to Quinlan to reimburse it for the losses in completing the contract; that it has no remedy over against Quinlan or the moneys due him to which his surety can be- subrogated. ■ ’
The proofs clearly show that on Quinlan’s abandonment of the work the borough engineer did not undertake to complete it, as prescribed by section 18; nor did the borough make a new contract with anyone else to complete the work. By the express terms of the contract, the right in the borough to retain.and apply Quinlan’s earnings (part of the contract price) was dependent upon the assumption of the completion of the contract work by the borough engineer, and the suffering by the borough of a loss. The selection, by section 18,-of the borough engineer, who was necessarily familiar with the contract work and an expert in the conduct of such business,, as the person who should complete the work in order to entitle the borough to reimburse itself from the moneys due the contractor, was an incident materially affecting the possible loss in finishing the work. The contractor might well say to the borough: “It was my right, if you expected to charge me with any loss in completing the contract work, to have had that work done under the superintendence of the expert agreed upon in the contract.” In fact, *192the borough engineer clid not undertake the completion of that work, nor has the borough suffered any loss in that matter. The City Trust Company did not wait for this condition of affairs to come into being, but itself, acting for Quinlan, voluntarily completed the work. It may therefore be forcefully argued that the borough has no claim or remedy against Quinlan, or against the fund (part of the contract price) due or to grow due to him, to which Quinlan’s surety can be subrogated.
It is also to be considered that the right of a surety to be subrogated is not an absolute one, which the surety may enforce at will. All the circumstances which might affect the equities of the parties should be presented. In the present case, while there is proof that the expenditures of the City Trust Company in completing the contract are in excess of the portion of the contract price paid to that company, it is not shown that this will necessarily result in an actual loss to tire City Trust Company, for there is no proof, that that company has no other fund or security from Quinlan to which it may have recourse. In the Hewitt Case, 10 C. E. Gr. 210, this court declared that whether the surety should have all the remedies which the creditor might have enforced depends on whether it is necessary to the protection of the surety that it should be so. The defendant company which undertook this suretyship knows whether it is otherwise protected. It is its duty (when it asks the court to award to it by subrogation a special fund of its principal on which other creditors rely for payment) to prove that it has no other recourse than this fund to save it from loss. No such evidence has been offered. .
Whatever may be the equities of the parties touching the question of subrogation, the principles which in my view must control and determine their rights in this dispute are to be found in the effect and operation of the statute of 1892 above cited upon the matters here under consideration. The defendants’ extensive citations of the decisions in other states upon their statutes are of little aid in determining this cause, which is controlled by the terms of the statute of this state.
The transaction was within the scope of that statute, a public *193improvement being constructed by a municipality of this state under a contract for work to be done and materials to be furnished. The municipality, the contractor and his surety must be held to have made their contract with knowledge of the fact that this public statute gave to persons who might perform work for or furnish material to the contractor for such an improvement a right of lien upon moneys which might be due or grow due to the contractor under the contract, and that persons who supplied such work and material might rely upon that right of lien to secure payment of their claims. The City Trust Company having with this knowledge accepted its responsibilities as surety, cannot now equitably withstand the enforcement of the statutory lien subject to which it entered into its contract of suretyship. Any other construction of the statutory lien would make the statute a baited trap, inviting workmen and material-men to give credits to contractors erecting public improvements upon the assurance that the payment of their claims would be secured, but depriving them of- their security by the enforcement of a latent equitj', to the creation of which they were not parties, and of which they knew nothing when they gave their credits, which in fact came into existence' (if'it ever did arise) because of circumstances happening long after the claimants’ liens had attached.
I will advise a decree for the complainants and other lien claimants in both suits, in accordance with the views above expressed.