delivered the opinion of the court.
Appeal by the Fidelity & Deposit Company from a judgment against it and in favor of plaintiff, and appeal by the bank from a judgment against it and in favor of the Fidelity & Deposit Company.
In September, 1922, Albert Carlson entered into a contract with the state highway commission for the construction of approximately three miles of road in Park county, a part of a federal aid project, which contract required him to furnish all equipment, labor and material for the prosecution of the work. As a condition precedent to the complete execution of the contract, Carlson was required to furnish a surety bond, conditioned upon the faithful performance of his covenants and agreements under fhe contract, and, as a part of the contract, he was required to promise to pay for labor and material used. Carlson secured his bond from the Fidelity & Deposit Company and arranged with the First National Bank of Columbus to finance him during the performance of his contract, attempting to secure the bank by an assignment in advance of all moneys due or to become due under the contract. This assignment was filed with the state highway commission, which body agreed to pay the moneys, as they fell due, to the bank on condition that the assignee see that all creditors of the con *120 tractor were paid in accordance with the contract; this condition was accepted by the assignee. For brevity -and convenience, the various parties will hereafter be referred to as the plaintiff, the contractor, the surety, the bank and the commission.
Under the arrangement above referred to, all but the final payment of the contract price was paid by drafts in favor of the contractor sent to the bank; these were indorsed by the contractor and by the bank placed to the credit of the contractor in an account to which loans by the bank were also credited and against which the contractor checked in payment of accounts due on the contract. When final payment was due, it was disclosed that certain claims of which the commission had notice had not been paid, and the final payment was withheld and these claims paid, at least to the extent of the final payment due.
There remained certain claims in addition to those treated above, the largest of which was that of the plaintiff herein, and, for the purpose of combining all such claims in one action, the remaining creditors assigned their claims to the plaintiff who commenced action against the contractor and the surety by the filing of a complaint containing nine causes of action, or a separate cause of action on each claim outstanding. The complaint alleges that each claim is for “materials furnished and to be used in and about the construction of the highway.”
The first and seventh causes of action are for hay and grain fed to the horses used; the fourth, fifth and sixth for oil, gasoline and grease used as fuel and lubricants for machinery, trucks and a Ford ear employed in and about the construction; the eighth and ninth for foodstuffs consumed by the laborers, the contractor, and his family while the work was in progress. The second cause of action contains charges for coal used for cooking and heating purposes in camp; lumber, nails, etc., used in erecting a cook shack, mangers for the horses and frames for tents used as sleeping quarters at a *121 camp established some five or six miles from Livingston on the highway; a small amount of lumber used in making concrete forms and in flume work, and a small amount of cement used in the construction. The third cause of action is for gravel sold to the contractor and used for surfacing the highway.
The surety denied liability on each of the alleged causes of action, and, as an affirmative defense and cross-complaint, alleged that, under its contract, it was liable only for “labor and material actually used in and which went into the construction of the highway”; that the assignment to the bank was given without its knowledge or consent, was void and without effect; and that the bank should be compelled to return the money received from the commission for the payment of any award which might be made against the surety.
During the trial the surety was permitted, over the objection of the bank, to amend its cross-complaint to state, in effect, that it was entitled to be subrogated to the rights of the commission for the above purpose.
The bank was served with process, interposed a special demurrer to the cross-complaint and a general demurrer to the complaint, both of which were overruled, and thereafter answered, joining issue as to the allegations of the cross-complaint. The cause was finally brought to trial but, at the close of the evidence in which there was no conflict, on motion of the plaintiff, the court directed a verdict in favor of plaintiff and against the surety on each cause of action, and thereupon the surety moved that the court also withdraw the issues between it and the bank from the jury, which motion was sustained, and, later, the court found these issues in favor of the surety. Judgment was thereafter entered in favor of the plaintiff and against the contractor and surety on each cause of action stated in the complaint, and in favor of the surety and against the bank on the cross-complaint. Thereupon the surety appealed from the judgment against it, and by a separate appeal the bank challenged the right of the court to re *122 quire it to reimburse the surety. Upon the hearing before us, the appeals were united and will now be disposed of as one.
1. On its appeal the bank contends that the complaint herein does not state a cause of action against the surety, for the reason that there is no privity of contract between the persons who furnished labor and material to the contractor and the surety. In other words, it contends that a person not mentioned in a bond cannot sue upon it in his own name, even though its provisions incidentally benefit him. This is the rule “in some jurisdictions,” as stated in the recent work by Donnally on the Law of Public Contracts, section 336, but only certain of the authorities cited in support of the statement technically so hold; others hinge rather upon the general rule stated in section 337 of said work, which is that: “A bond conditioned for the faithful performance of the work is a bond for the indemnity of the public body merely, and laborers and materialmen cannot sue upon such a bond to recover wages or money due them.” The first rule is, however, in effect in New York, where it was adopted in construing the section of the “Field’s Code” adopted in this state, and now appearing as section 7472 of the Revised Codes of 1921, which reads: “A contract, made expressly for the benefit of a third person, may be enforced by him at any time before the parties thereto rescind it.”
(Fosmire
v.
National Surety Co.,
Following the New York rule and certain decisions of this court, construing the above statute to mean that the contract must be made “in direct terms” for the benefit of the person suing, we held in
Martin
v.
American Surety Co.,
2. “A surety is one who, at the request of another, and for the purpose of securing to him a benefit, becomes responsible for the performance by the latter of some act in favor of a third person,” etc. (Sec. 8195, Rev. Codes 1921.) Such third person may enforce the obligation at any time before the contract is rescinded. (Sec. 7472, above.) Where the bond is given for the performance of a contract, the bond is made with relation to the contract and as a part of it.
(Cole Mfg. Co.
v.
Morton,
It is, therefore, apparent that when neither the contract nor the bond contains a promise to pay laborers and materialmen, and the bond is conditioned only for the faithful performance of the work, there is no privity of contract entitling such claimants to sue the surety.
3. Again, as in, the absence of statutory authority no lien may be filed against public works, the obligee under such a bond cannot be injured by the failure of the contractor to pay for labor and material, and the governmental agency may or may not, at its pleasure, as a part of the contract exact a promise to make such payments
(Southwestern Portland Cement Co.
v.
Williams
(N. M. 1926),
Under this rule, the result reached in the Martin Case may be upheld, as the contract there under consideration contained no direct promise to pay for labor and material as a part of the contract.
4. Where, however, the governmental agency sees fit to exact a promise to pay laborers and materialmen as a part of the contract and requires the contractor to furnish a bond, which, in addition to assuring the faithful performance of the work, promises that the contractor will pay for labor and *125 material furnished for the prosecution of the work, it must be presumed that it thereby intended to benefit someone, and, as failure could not injure the state to whom the bond runs, the obligee could only be incidentally benefited.
As in the construction of contracts, “a bond shall be construed, if possible, so as to give force, effect, and meaning to all the words and clauses used in the bond, and so as to effectuate and carry into operation the reasonable intention of the parties; and such construction should be given, if this can fairly be done, that will support rather than defeat the bond” (9 C. J.
33; Blyth-Fargo Co.
v.
Free,
above); and, where such a situation as is above referred to arises, courts readily find in the provision of the bond an intention to benefit the class of persons mentioned therein, sufficient to constitute privity of contract between those coming within the class and the surety, even though the dominant purpose of the bond is the protection of the obligee, which, under the New York rule, is said to be the controlling question
(Southwestern Portland Cement Co.
v.
Williams,
above;
Fitzgerald
v.
McClay, 47
Neb. 816, 56 N.
W.
828;
Hipwell
v.
National Surety Co.,
In support of the action of the courts it is said, in effect, in
Knapp
v.
Swaney,
It is said by the supreme court of the United States that a bond such as the one before us contained “two entirely distinct and separate obligations: First, that [the contractor] should fulfill all the conditions and covenants of his contract, * # s and, second, promptly make payment to all persons supplying him labor and materials in the prosecution of the ^work. * * * This [latter] covenant, * * * is inserted for an entirely different purpose from that of securing to the government the performance of the contract for the construction of the building. ’ ’ Inasmuch as there can be no lien filed against the construction, the government “solely for the protection of the latter [laborers and materialmen] requires a covenant for the prompt payment of their claims,
* * *
the covenant is made solely for their benefit.”
(Guaranty Co.
v.
Pressed Brick Co.,
Following this line of reasoning, the great weight of authority and, to our minds, the better reasoned cases, at least under such circumstances as are considered in the last paragraph, hold that, even though the dominant purpose of the bond is the indemnity of the obligee (the state), when the contract, contains a promise on the part of the contractor to pay for the labor and material and the bond contains a condition based on such promise, the intention of the parties and the duty toward such claimants resting upon the surety, either legal or equitable, will be drawn from the insertion of those promises in the instruments, privity of contract established between the surety and the class of persons mentioned in the instruments, and those falling within that class may sue directly in their own names and recover from the surety.
(French
v.
Farmer,
This is the rule adopted in this state in Lanstrum v. Zumwalt, except that the question of suing directly was not there involved, and we believe it is the only rule which may, under the circumstances of this case, in justice and good conscience be applied.
The contract and bond before us are identical with those considered in the Lanstrum Case, with the omission of the term “equipment,” and we therefore hold that the complaint herein states a cause of action against the surety on such claims included therein as come within the meaning of the phrase “labor and material” furnished under the contract; anything to the contrary appearing in Martin v. American Surety Co., above, is hereby expressly overruled.
5. The several specifications of error assigned by the surety on its appeal present but the question of the meaning of the word “material,” contained in the contract and bond, construed in the light of the statutory provisions in effect at the time those instruments were executed. These provisions are found in sections 1783 to 1802, of the Eevised Codes of 1921, dealing with the highway commission and certain federal statutes regarding contracts and bonds on federal aid projects.
Section 1790, Revised Codes of 1921, provides for the awarding of highway construction contracts, and declares that the contractor shall, before entering upon such work, execute to the state a bond conditioned for the faithful discharge of his duties under such contracts. We have no statutory requirement that such a contractor shall give a bond for the protection of those who furnish him with labor and material for the prosecution of the work, but the Act of August 13, 1894, now section 6923, United States Compiled Statutes, provides that on federal aid projects the required bond shall contain “the additional
*128
obligation that such contractor * * * shall promptly make payments to all persons supplying him #
* *
with labor and materials in the prosecution of the work provided for in such contracts,” while sections 7477a and 7477i of the Act declare that the construction work in each state shall be done in accordance with its laws, under the direct supervision of the state highway department and in accordance with the rules laid down by the secretary of agriculture. In 1905 the Act of 1894 was amended to read “labor or materials used in the construction or repair,” but it is held that the change in phraseology is not significant. “The purpose of the amendment was merely to secure to the United States preference over others in the satisfaction of its claims against the contractor.”
(Illinois Surety Co.
v.
Peeler,
Although there should be no favoritism or tenderness shown to a company organized to act as a surety for hire
(Guaranty Co.
v.
Pressed Brick Co.,
above;
Getchell
v.
Peterson,
6. Here the contract and bond, as the measure of the surety’s liability, both refer only to “labor and material”; the contract provides that: ‘ ‘ The contractor shall promptly make payment for *129 labor and material e * ° to all persons supplying sueh contractor therewith for the prosecution of the work contemplated therein, and that he shall not permit any lien or claim to be filed or prosecuted against the state of Montana, or any officer, agent, or employee thereof, for or on account of labor or material furnished.” This latter clause would seem to indicate a clear intention on the part of the commission to confine the protection of the second clause or obligation in the bond, as pointed out in Guaranty Co. v. Pressed Brick Co., above, to such persons as might otherwise have a right to a lien against the construction. The phraseology of the bond departs somewhat from that of the contract; it provides that the bond is conditioned that the contractor “shall well and truly pay all and every person furnishing material or performing labor in and about the construction.”
The plaintiff contends that the italicized phrase “in and about the construction” applies to materials as well as to labor, whether becoming a part of the completed work or not. We do not think the bond is subject to that construction; in the first place, as pointed out above, the surety’s liability is measured by the promise of the contractor; and, secondly, it will be noted that, throughout the statutes quoted and the contract and bond, reference is elsewhere made to “labor and material”; here the order is reversed, indicating to our minds an intention on the part of the parties to extend the obligation of the bond to include labor employed necessarily “in and about the construction” — such as the services of a watchman, blacksmiths, and the like, whose labor did not directly go into the construction. Had it been the intention of the parties to broaden the condition of the bond beyond that of the contract with reference to both labor and material, there would have been no reason for transposing the terms. We are not here called upon to determine the question of the liability of the surety to such additional laborers, as no sueh claim is included in the complaint. With this construction, the provisions of the bond with reference to material harmonize and cover the requirements of the contract.
*130 7. In support of the contention that the supplies furnished come within the designation of “materials,” counsel for plaintiff cite authorities holding sureties liable on contracts requiring the payment for “materials and supplies,” “materials, supplies and equipment,” “materials furnished for or in the doing of the work,” and like expressions, and decisions holding that the word “supplies” is synonymous with “materials.” These authorities are not in point, as the bond under consideration refers only to materials, and that term is, in fact, not synonymous with, but much narrower than, that of “supplies.”
“The term ‘supplies’ * * * is defined as follows: ‘That which is or can be supplied; * ” * sufficient for given use or purpose; * *
*
a quantity of something supplied or on hand.’ ”
(Northern Pacific Ry. Co.
v.
Sanders County,
Following these definitions, the general rule is that when the bond mentions only material, the surety is liable only for the payment of that which has gone into and becomes a part of the completed work (Donnally on Public Contracts, see. 331, and numerous eases cited), although the federal courts extend the liability of sureties on government contracts to “anything which is an integral part of the work or necessarily involved in it; anything indispensable to the prosecution of the work and used exclusively in its performance” (Id., sec.
*131
332) — citing
Brogan
v.
National Surety Co.,
“For these reasons we are disposed to give the construction to our statute that has generally been given to similar statutes by the other states * * * because it seems to us that that expresses the intention of the Ohio Legislature.”
I This provision for the protection of laborers and material-men on public works is analogous to the mechanics
’and
materialmen’s lien law, and, as such items may not be filed against public works, it is á substitute for the lien they would otherwise have. (Donnally on Public Contracts, p. 476, and cases there cited.) While provisions in our lien law, in effect, make the owner of property benefited the surety of the contractor on private work
(Merrigan
v.
English,
The trial court erred, therefore, in instructing a verdict on causes of action for the price of supplies other than materials as above defined.
The surety makes no contention that it is not liable for the purchase price of gravel on which the third cause of action is predicated, amounting to $180, and.to this amount should be added the sum of $4 for cement included in the second cause of action. Had the plaintiff shown the value of the small amount of material used for concrete forms and other temporary construction and destroyed, this might also be added, but the record is silent on the subject.
The judgment against the surety must be modified by reducing the amount thereof from $5,281.09 to $184, with interest thereon from ¿September 30, 1923, to the date of the modification.
*134 8. On its appeal the bank has assigned thirty-six errors alleged to have been made by the court, many of which have already been disposed of, as they deal with the right of the plaintiff to recover; the only other assignment now necessary to consider is that the cross-complaint does not state facts sufficient to constitute a cause of action against the bank, raised on demurrer and objection to the introduction of evidence.
The cross-complaint merely alleges that the plaintiff, the surety, and the bank are corporations, and that the commission is created by law; that the contract and bond were entered into; that the contractor assigned all money due or to become due him under the contract to the bank; that this was done without the knowledge or consent of the surety, and it did not learn thereof until after all of the payments were made to the bank; and that prior to the commencement of this action the commission “paid to the said * * * bank all moneys earned by and due to the said * ® * contractor.” It then alleges that the assignment is void under Article 1 of the supplementary specifications made a part of the contract, and is void and of no effect as against claims covered by the contract and bond; that the making and acceptance of the assignment constituted a material and unauthorized change in the terms and conditions of the contract, upon which the surety had a right to rely; that the bank and the commission are necessary and indispensable parties to the action, to the end that there may be a full determination of the issues framed and that the rights of all the parties may be determined. The contract was made a part of the cross-complaint.
The cross-complaint contains no allegation that the contractor did any work under the contract, except as it may be drawn from the fact that the commission paid all money earned or due to the contractor, to the bank; it contains no allegation that the contractor purchased any materials for use on the construction, or that there are any materialmen in existence whose claims have not been paid, or that there is any *135 liability under the bond which might be enforced against the surety.
It is elementary that a cross-complaint, like an original complaint, must state facts sufficient to entitle the pleader to affirmative relief; it must show a complete cause of action
(Dowd
v.
American Surety Co.,
Where, as in the case at bar, a cross-complaint asks that the pleader be subrogated to the rights of a third person, but does not allege that the latter has any rights, a demurrer to the cross-complaint should be sustained (Dowd v. American Surety Co., above), and the court erred in this particular.
For the reasons stated, the cause is remanded to the district court of Park county, with instruction to modify the judgment in favor of the plaintiff and against the surety by reducing the amount thereof to $184, with interest at eight per cent per annum from September 30, 1923, to the date of the modification, and, as modified, the judgment is affirmed.
The judgment against the bank is reversed. The surety company will recover its costs on appeal from the plaintiff, and the bank will recover its costs on appeal from the surety company.
Remanded.
