The Atlas Powder Company instituted a chancery suit in the Circuit Court of Wyoming County for the purpose of recovering from Nelson and Chase Gilbert Company, Hartford Accident and Indemnity Company, The Virginian Western Railway Company and the M. P. Smith Construction Company, the sum of $21,586.41 and interest, for explosives furnished the M. P. Smith Construction Company and used by it as subcontractor for Nelson and Chase Gilbert Company, in the construction of three tunnels for the Railway Company. The Utilities Power and Light Company, and later its trustee in bankruptcy, Charles True Adams, became a defendant herein by its petition asserting a claim of $37,365.33, with interest, against Nelson and Chase Gilbert Company, and adverse to the interests of the appellant herein, payment of which claim was reserved for future consideration by the final decree. From a decree of the circuit court dismissing the bill of complaint, the Atlas Powder Company appeals.
In May, 1931, Nelson and Chase Gilbert Company, hereinafter called "contractor", entered into a contract with the Railway Company for the construction of railroad subgrade and tunnels in Mingo and Wyoming Counties. The estimated cost of the entire work was $900,000.00 and an indemnity bond was executed in accordance with the contract provisions in the penalty of that amount with the contractor as principal and the Hartford Accident Indemnity Company as surety thereon, to secure the Railway Company in the performance of the contract. The contract and the bond were recorded in Wyoming County on July 13, 1931, and in Mingo County on August 8, 1931. On June 18, 1931, the contractor by letter awarded to the M. P. Smith Construction Company, hereinafter referred to as "subcontractor", a contract for the tunnel *Page 300 work, pursuant to which letter a formal contract was executed and the subcontractor began work early in July, 1931. This contract called for completion of the tunnel work on or before January 15, 1932, and provided that payment was to be made on the basis of monthly estimates of work completed, ninety per cent of which was to be paid to the subcontractor and ten per cent retained by the contractor until completion of the work and acceptance of same by the Railway Company; it was also provided that the contractor reserved the right to pay part or all of such ninety per cent of the monthly estimates directly to those furnishing labor, materials and machinery as well as the aforesaid ten per cent of the monthly estimates. The subcontractor purchased explosives from appellant from July, 1931, until June, 1932, aggregating $23,306.07, which total amount is reduced to $21,586.41 by certain credit memoranda and a payment of $1,000.00 by the contractor in February, 1932, the only payment ever made to appellant on subcontractor's account. Payments on the monthly estimates of completed work were made by contractor to subcontractor until January 20, 1932. Some difficulty arose as to subcontractor not paying its creditors, including appellant, and after that date the contractor retained all of the payments from the Railway Company on the monthly estimates of completed work on the tunnel project, and opened an account in a local bank, using same to pay supply and material bills and labor charges incurred by subcontractor. Under this arrangement, the work was completed about September, 1932, the contractor having paid out some three thousand dollars more than the amount so received and retained. In March, 1932, the subcontractor delivered to appellant an order directing the contractor to pay appellant its accrued indebtedness, and any money for materials thereafter becoming due. At that time the subcontractor's account with appellant was over twenty thousand dollars. On March 24, 1932, contractor accepted this order, with a written notation thereon that acceptance was subject to the terms of its contract with subcontractor. *Page 301
Appellant never filed a mechanic's lien, based upon the claim asserted herein, however, in August, 1932, numerous mechanics' liens were being filed by creditors of the subcontractor and suits were being instituted for the enforcement of such liens. The suits pending in Wyoming County were consolidated into that of Bluefield Supply Co. v. M. P. Smith Construction Company andothers, reported in 115 W. Va. 537, 177 S.E. 296. An arrangement was effected in September, 1932, between the contractor, the Railway Company and the Surety, whereby all amounts accruing to contractor, from the entire contract, would be placed in a separate account, supervised by the Surety, to pay liens, costs and expenses. From this account, appellant contends that in January, 1933, certain claims were paid in the absence of service of mechanics' lien notices on the Railway Company, and without having submitted the validity of such liens to the court wherein they were pending. It is argued by appellant that the contractor and the Surety should be compelled to reimburse the fund of the subcontractor for sums expended in the payment of such invalid liens.
After the execution of the main contract between contractor and the Railway Company, contractor borrowed $35,000.00 from the Utilities Power and Light Company, executing and delivering to the Utilities Company its note therefor and as collateral security a written assignment, dated July 9, 1931, of all retained percentages from the monthly estimates, due or to become due to contractor from the Railway Company under the main contract. No notice of such assignment was given to the Railway Company until April, 1933, and no effort was made by the Utilities Company to collect on the same until the filing of its petition in this suit. Appellant contends that by the very terms of the assignment, the Utilities Company became bound with knowledge of the terms of the main contract as to payment for labor and materials, and that any rights of the Utilities Company obtained by the assignment are inferior to the claim of the appellant asserted herein. *Page 302
At the time of the institution of this suit and even before the completion of the tunnel project, subcontractor was hopelessly insolvent; there remains in the hands of the surety some $25,000.00, which fund accrued from the percentages of monthly estimates retained under the principal contract placed in the supervision of the surety under the arrangement hereinbefore mentioned.
The principal contention of appellant is that its claim against subcontractor is covered by the main contract and the bond and that thereunder contractor and surety are liable for debts and obligations of the subcontractor, including the debt herein though it was not perfected as a mechanic's lien. The other points, regarding the application of funds by surety and contractor to invalid liens, and the preference of appellant's claim over that of the Utilities Company, have been mentioned hereinbefore.
Following submission of the cause upon bill, answers, replications, depositions and exhibits, the circuit court made the following findings:
(1) That the bond was given by contractor in accordance with Code, 38-2-22, and appellant, having failed to perfect a mechanic's lien, can not recover on the bond;
(2) That contractor did not guarantee payment of appellant's account against subcontractor;
(3) That contractor's assignment to Utilities Company is superior to that of subcontractor to appellant; and that appellant has no right to the fund in the hands of the surety; and
(4) That the funds accruing to subcontractor from monthly estimates were properly disbursed.
As before stated, appellant's bill was dismissed and the questions in regard to payment of the Utilities Company claim were reserved for further consideration.
In considering the question of liability on the bond, it is necessary to refer to the contract and bond provisions and the statute, referred to in the decree of the circuit court. In the main contract, the contractor agreed "to be held responsible for the payment of all labor, supplies and material furnished for all the work embraced in this contract, whether such work is done directly by him or a subcontractor *Page 303 under him." The condition in the bond required contractor to "well and truly carry out, perform and fulfill all the covenants and agreements on its part in said contract in writing contained", and further to "pay off, satisfy and discharge all claims of subcontractors, laborers and materialmen and all persons furnishing material or doing work upon the said (Railway Company)." Article 2 of Chapter 38 deals with mechanics' liens and the establishment and enforcement thereof. Section 4 of that article gives to a person furnishing a subcontractor materials, a lien for compensation therefor on the building or structure involved. (In Bluefield Supply Co. v.Smith Construction Co., supra, this Court held that a railway tunnel is a "structure" within the meaning of Code, 38-2-4.) Section 22 of the same article provides that an owner may limit his liability upon the construction contract to the contract price therefor by recording, in the county where the building or structure is situate, the contract and a bond of the general contractor in a penalty equal to the contract price, for the protection of any laborer, materialman or other person "having perfected his lien as allowed by this article."
The argument of counsel on this question is based upon the question of the intent of contractor and the Railway Company in including in the contract the broad language quoted, followed in effect by the wording of the condition of the bond, and in recording the contract and bond in both Wyoming and Mingo Counties. Appellant contends that since the language of the contract and bond, in its inclusion of all construction expenses, not limited to those perfected as mechanics' liens, is broader in effect than that of the statute, it evinces an intent of the contractor and the Railway Company to assume such obligations beyond the scope of the statute. The provisions of Section 22 are not compulsory, and appellant argues that the parties to the main contract, in the enjoyment of freedom of contract about their private property and affairs, made contractor liable for all construction debts, dedicated all construction money to that purpose, and *Page 304 required a bond conditioned for payment of these debts. On the other hand, it is pointed out that the statute was followed in its provisions relating to amount of the bond in the contract price, and the recording in both counties where the structure was located. There is also the testimony of the Assistant General Solicitor of the Railway Company that the contract and bond were recorded in compliance with the mechanic's lien law. We note also the following statement in the opinion inBluefield Supply Company case, referring to the identical bond, "The suit seeks recovery upon a bond given pursuant to section 22, article 2, chapter 38, of the Code * * *".
The circuit court made a finding of fact in its final decree that the bond "was given in accordance with Chap. 38, Art. 2, Sec. 22, * * * for the purpose of protecting the defendant Virginian and Western Railway Company against liens filed against its property exceeding the contract price * * * ". Under well-established and long followed principles we would have to say that such a finding was plainly wrong, in order to disturb the same. Under the facts and circumstances herein presented, and the further fact that this Court in a prior decision treated the same bond as being given pursuant to the statute, we are unable to hold that the trial chancellor was plainly wrong.
Having affirmed the finding of the circuit court that the bond was so given, the fact that its language, read with that of the main contract, is broader than the statute, is of no material effect. "By a rule of construction, well recognized in this court, bonds which are given with the plain purpose of complying with some statutory requirement prescribing the condition of the bond are to be read as though given in literal compliance with the statute, adding what is necessary to bring the bond up to the terms of the statute or subtracting whatever is necessary to restrict it to those terms." Bluefield SupplyCo. v. Construction Co., supra; Products Co. v. Logan, 113 W. Va. 703,169 S.E. 400; Supply Co. v. Mason, 103 W. Va. 318,137 S.E. 356. It follows that appellant has shown no right of *Page 305 recovery on the contract and bond, since its claim was never perfected as a lien under the provisions of Article 2, Chapter 38.
We now come to a consideration of the conflicting claims of appellant and the Utilities Company, relating to the money in the possession of the Railway and Surety Companies, which is a part of the amount withheld under the principal contract.
The appellant contends that the contract expressly prohibited the assignment to the Utilities Company, in the following terms: "The CONTRACTOR agrees not to transfer this contract, or sublet the whole or any part of the work hereunder to any person (excepting for the supply of material) without the written consent of the CHIEF ENGINEER and the COMPANY." It is apparent from a cursory reading of the part of the contract just quoted that it prohibits the contractor from shifting to another the performance of the work thereunder without the consent of the Railway Company. It does not interdict the assignment of the money which the contractor was to receive as his compensation. The work to be done under the contract is to be distinguished from the compensation due for the performance thereof. One is a duty; the other a property right. The contractor "did not assign or sublet the contract by giving an order on the fund arising from its performance." Brace v.Gloversville, 167 N.Y. 452, 60 N.E. 779. If this contract were unassignable as an entirety because of personal trust and confidence, this would not prevent assignment of a portion of the compensation earned under it. In re Wright, (C.C.A.2d 157 F. 544, 18 L.R.A. (N.S.) 193. We know of no inherent quality in the right assigned which prevented the contractor from transferring his right to the Utilities Company. Money earned by a contractor in a building contract may be assigned.Twentieth Street Bank v. Summers, 90 W. Va. 90, 110 S.E. 478;Adler v. Railroad Co., 92 Mo. 242, 4 S.W. 919. No objection is made to the assignment by the Railway Company; it seems neutral as between the appellant and the Utilities Company. The case of White *Page 306 v. Raleigh-Wyoming Mining Co., 113 W. Va. 522, 168 S.E. 798, is distinguishable. There one of the parties to the contract objected to assignment.
We agree that the contractor could give no greater or better right to its assignee than it had. This is true of the assignment made by contractor to the Utilities Company, as well as the assignment made by subcontractor to appellant. There is money due from the Railway Company, the right to which was assigned to the Utilities Company, whereas there is no money due subcontractor from contractor, it having elected to pay the liens of laborers and materialmen under the terms of its contract.
We do not agree that under the terms of the contract there was created a fund for the benefit of the appellant who failed to perfect its lien under Article 2, Chapter 38, Code. The appellant was not a party to the principal contract, nor was there any stipulation or provision therein for its benefit. The provisions of the contract with reference to retaining a percentage of the compensation due the contractor were for the benefit of the owner and the surety on the contractor's bond.Supply Co. v. Webb, 112 W. Va. 622, 166 S.E. 281. As to laborers and materialmen, the statute makes provision for them, which they may or may not utilize. Admittedly, the appellant has no assignment from the contractor, but it urges that the contract earmarked the money retained by the Railway Company for its benefit. The books are replete with opinions holding that the surety on the contractor's bond and persons holding perfected liens are entitled to be paid out of a fund so created; but we fail to find authority supporting the contention that a creditor who has sold materials to a subcontractor and failed to preserve the lien given by statute, is entitled to resort thereto.
The appellant complains of the improper disbursement of funds of M. P. Smith Construction Company, of which $10,989.21 was authorized by decree of the trial court in the case ofBluefield Supply Co. v. Construction Co., supra. Appellant knew that subcontractor was in a precarious financial condition, and could have been made a party to *Page 307 the suit in which the moneys were disbursed, and then and there protected its interest. Not having done so, its complaint now is in the nature of a collateral attack on the decrees of a court of general jurisdiction.
The decree appealed from made reservation as to payments to be made to the Trustee of the Utilities Company; for that reason this cause is remanded for further proceedings. We affirm the trial chancellor and remand the cause.
Affirmed and remanded.