
76 N.J. Super. 274 (1962)
184 A.2d 426
THE GUARANTEE COMPANY OF NORTH AMERICA, A CORPORATION OF THE DOMINION OF CANADA, PLAINTIFF-APPELLANT,
v.
TANDY & ALLEN CONSTRUCTION CO., INC., A CORPORATION OF THE STATE OF NEW JERSEY, DEFENDANT-RESPONDENT.
Superior Court of New Jersey, Appellate Division.
Argued October 23, 1961.
Decided September 20, 1962.
*275 Before Judges PRICE, SULLIVAN and LEONARD.
Mr. Daniel Mungall, Jr., a member of the Pennsylvania Bar, admitted pro hac vice, argued the cause for plaintiff-appellant (Messrs. Smith, Kramer & Morrison, attorneys; Mr. Kenneth A. Morrison, of counsel; Messrs. Stradley, Ronon, Stevens & Young, by Messrs. S. Gordon Elkins and Daniel Mungall, Jr., members of the Pennsylvania Bar, on the brief).
Mr. Alvin L. Arnold, a member of the New York Bar, admitted pro hac vice, argued the cause for defendant-respondent (Mr. Bernard Dorfman, attorney; Mr. Samuel *276 Rochlin, of counsel; Mr. Frederick P. Glick, by Mr. Arnold, on the brief).
The opinion of the court was delivered by LEONARD, J.S.C. (temporarily assigned).
Plaintiff appeals from a final judgment of the Superior Court, Law Division, in favor of defendant.
Prior to July 1955 defendant (contractor) became the general contractor for the construction of a hangar at the Burlington Airport, Vermont, for the U.S. Government. On July 18, 1955 contractor entered into a contract with Industrial Associates, Inc. (subcontractor) to supply and erect structural steel on this job. Subcontractor then applied to plaintiff (surety) for the surety bond required by the subcontract. Surety then executed a payment and performance bond conditioned upon the faithful performance of the subcontractor-principal's obligations, as well as the payment of all persons supplying labor and material under the subcontract.
Thereafter, contractor and subcontractor entered into two other contracts  one for construction work at an Air Force base in Delaware and the other for construction work at a hospital in New York State. Neither of those contracts required a payment and performance bond.
Subsequently, pursuant to a petition filed on November 14, 1956, subcontractor was adjudicated a bankrupt and defaulted on all three of its contracts. Contractor then notified surety that its principal, subcontractor, was in default on the Vermont contract. Surety replied that it elected to complete performance of the contract and assert its rights as surety. Thereupon, by agreement with surety, contractor completed the remaining work itself for the agreed sum of $2,386.33, which amount was deducted from the unpaid balance of the contract, leaving a total due of $9,603.37. Also, in accordance with its obligation, surety paid the sum of $17,956.05 on account of labor and material expended on the Vermont project. Surety then demanded *277 the unpaid balance due on the Vermont contract. Contractor refused to pay because it had finished the New York and Delaware jobs itself at a cost of $9,937.09 over the prices established in its contract with subcontractor, and it claimed the right to set off the losses it sustained on the New York and Delaware contracts against the unpaid balance due on the Vermont contract.
The trial court found in favor of defendant, dismissing plaintiff-surety's complaint.
Surety bases its appeal upon two grounds. (1) It reasons that the subcontract obligated subcontractor to pay its suppliers and, in the event of default, contractor had the right to apply the contract monies to this end; therefore, when subcontractor did default and surety paid the suppliers, it became subrogated to contractor's right to apply the contract monies to offset the loss; (2) it relies on the assignment of the contract price in its agreement with subcontractor, claiming that this was prior to the New York and Delaware contracts and that contractor had notice of such assignment and of its priority in point of time.
Paragraph 27 of the Vermont contract between contractor and subcontractor gives contractor the right, in case of default, to apply the monies due subcontractor to the payment of the claim of subcontractor's suppliers. Surety, in its bond, undertook to reimburse subcontractor's suppliers should subcontractor default in making prompt payment to them. As hereinbefore stated, upon subcontractor's default, surety, in accordance with its bond, paid to the laborers and suppliers the sum of $17,956.05 and, in addition, it paid contractor $2,386.33 to complete the Vermont contract. As a result, surety now claims to be subrogated to contractor's right to apply the balance due subcontractor on that contract.
A surety, by paying the debt of his principal at the time he is obligated so to pay, normally acquires an immediate right to be subrogated, to the extent required for his reimbursement, to all rights, remedies, and securities *278 which were available to the creditor to obtain payment. 83 C.J.S., Subrogation, § 47a, at p. 667 (1953).
"As applied to suretyship, subrogation denotes that the surety, upon performance, is placed in the position of the creditor both in respect of the creditor's right against the principal and of security held by the creditor." Restatement, Security, § 141, comment (a), at p. 384 (1941).
Cf. Hackensack Brick Co. v. Borough of Bogota, 86 N.J. Eq. 143 (Ch. 1916). When a surety pays his principal's laborers and materialmen, he is fulfilling his obligation not only to his defaulting principal's suppliers but to the contractor-creditor as well. Under those circumstances, a surety becomes subrogated to the rights of the contractor who required a bond as a condition of his contract with the principal and who reserved the right to withhold earned contract funds and apply them to the payment of materialmen in case of default. Continental Casualty Co. v. United States, 145 Ct. Cl. 99, 169 F. Supp. 945 (Ct. Cl. 1959). Thus a surety, paying for the labor and materials of his principal, is generally entitled to reimbursement out of the funds which are due the principal on the bonded contract. United States F. & G. Co. v. Triborough Bridge Authority, 297 N.Y. 31, 74 N.E.2d 226 (Ct. App. 1947).
The elements of subrogation are as follows:
"* * * `(1) that the persons seeking its benefits must have paid a debt due to a third party, before he can be substituted to that party's rights; and (2) that in doing this he must not act as a mere volunteer, but on compulsion, to save himself from loss * * *.'" Prairie State National Bank v. United States, 164 U.S. 227, 231, 17 S.Ct. 142, 41 L.Ed. 412, 416 (1896).
Cf. Henningsen v. United States Fidelity & G. Co., 208 U.S. 404, 28 S.Ct. 389, 52 L.Ed. 547 (1908); United States F. & G. Co. v. Triborough Bridge Authority, supra. Since the surety paid the debt due by the subcontractor under the compulsion of its bond, it would be entitled, absent other *279 controlling circumstances, to be subrogated to any funds held by the contractor.
Surety contends that the remaining contract price due subcontractor is a security in the hands of contractor which the latter may not use except in accordance with the contract. The courts of New Jersey have held that the contract price is a security in the hands of the creditor and under ordinary circumstances cannot be used so as to prejudice a surety. Welch v. Hubschmitt Co., 61 N.J.L. 57 (Sup. Ct. 1897); St. Peter's Catholic Church v. Vannote, 66 N.J. Eq. 78 (Ch. 1904). See also Annotation 127 A.L.R. 10 (1940). Furthermore, it appears to us that a contractor's right to apply the contract price to the payment of a subcontractor's suppliers is a security to which, under ordinary circumstances, the subrogated surety would be entitled.
The trial court based its holding upon the following premise:
"When surety pays bills, it gains subrogation rights but it stands in the shoes of the subcontractor, not the general contractor."
We do not agree with that statement. Surety, in conformity with its undertaking, performed the contract by paying contractor to complete the job and by paying the materialmen. Both of these were obligations owed by subcontractor to contractor. The result is that, absent other controlling circumstances, surety would become subrogated to the rights and securities of contractor under the contract. See generally Annotations, 45 A.L.R. 379 (1926), 134 A.L.R. 738 (1941), 164 A.L.R. 613 (1946); Simpson, Suretyship, C. 2, § 47, at p. 205.
However, in answer to surety's argument, respondent-creditor offers the affirmative defense of "set-off." It is respondent's contention that the creditor's right of set-off is superior to surety's right of subrogation. Respondent relies on the cases of United States v. Munsey Trust Co., 332 U.S. 234, 67 S.Ct. 1599, 91 L.Ed. 2022 (1947), and Grover v. Bd. of Ed., Franklin Twp., 102 N.J. Eq. 415 (Ch. 1928), *280 affirmed 104 N.J. Eq. 197 (E. & A. 1929). The Grover case is not apposite here. In that case a contractor erecting a schoolhouse received a payment from the school board. From these monies the contractor paid his materialmen who, knowing its source, applied it to an antecedent indebtedness unrelated to the school project. Later the contractor defaulted and the surety completed performance. Prior to the default, the materialmen had perfected a lien claim against the school job. It was held that in the absence of some special agreement the surety had no right to have the monies so paid applied to the school job. This was a reiteration of the general rule that, "in the absence of an agreement or of special equity in his favor," a surety "cannot direct or control the application" by the principal or the creditor of payments made by the principal from his own funds. See Annotations, 21 A.L.R. 704 (1922), 60 A.L.R. 203 (1929). In Grover supra, the surety was still a contingent creditor in that it had not yet performed on default and thereby become a creditor through subrogation. In the instant case, surety, by performing its principal's obligation, has become a creditor although, as will later be seen, that fact alone does not warrant recovery by it. In addition, the Legislature passed the former R.S. 2:60-212[*] in order "to avoid the effect of the decision" in Grover. American Lumberman's, &c., Co. v. Bradley Const. Co., 127 N.J. Eq. 500, 505 (Ch. 1940), affirmed 129 N.J. Eq. 278 (E. & A. 1941), and Stulz-Sickles Co. v. Fredburn Constr. Corp., 114 N.J. Eq. 475, 478 (Ch. 1933).
In Munsey, supra, 332 U.S. 234, 67 S.Ct. 1599, the United States entered into six contracts with the Federal Contracting Corporation in which the corporate contractor agreed to paint and repair certain federal buildings. In accordance with the applicable statute, two surety bonds were furnished, "one conditioned on the completion of the work within the contract period, and the other on the payment *281 of those furnishing labor and material to the contractor." The opinion, at pp. 236-237, 67 S.Ct., at p. 1600, discloses the following further pertinent facts:
"* * * The Aetna Casualty and Surety Company signed those bonds, each of which assigned to it the contractor's claims against the government for sums due on the contracts whenever the surety should be compelled by default of the contractor to fulfill its obligations. The work was completed by the contractor apparently in 1940, and accepted by the government. The surety therefore was not called upon to make good the promise of the performance bonds. But the contractor did not pay $13,065.93 owed to persons who had supplied labor and material for performance of five of the six contracts. This indebtedness the surety paid between April and September, 1941 as the payment bonds obliged it to do.
Under the customary terms of its contracts, the government had retained percentages of the progress payments due to the contractor. This retained money, on acceptance of the work, amounted to $12,445.03, but it was not disbursed."
Later Federal breached another unrelated contract with the United States, causing the Government damage to the extent of $6,731.50. On a stockholder's application, Munsey Trust Co. "was appointed receiver with directions to demand and authority to receive from the United States the proceeds of the six contracts. * * * On Demand by the receiver for the amounts due, the General Accounting Office deducted the government's claim of $6,731.50 and paid over $5,713.53." Aetna protested the Government's set-off. The "receiver also protested the set-off and demanded" money "for reimbursement of the surety." The receiver instituted suit in the Court of Claims, which gave judgment in its favor. "The Acting Comptroller General declined to follow the opinion of the Court of Claims, in the absence of ruling" by the Supreme Court. The latter court granted the Government's petition for certiorari and, holding that "the government properly used its right to set off its independent claim," reversed the aforesaid judgment. (Munsey, 322 U.S., at p. 244, 67 S.Ct., at p. 1604).
In assessing the scope of the decision in Munsey, and in determining its applicability to the case at bar, the following *282 portion of the opinion thereof (322 U.S., at p. 240, 67 S.Ct., at p. 1602) is significant:
"But the surety urges that it is subrogated also to the rights of laborers and materialmen whom it paid and of the United States. From Prairie State Nat. Bank of Chicago v. United States, 164 U.S. 227, 17 S.Ct. 142, 41 L.Ed. 412, to American Surety Co. v. Sampsell, 327 U.S. 269, 66 S.Ct. 571, 90 L.Ed. 663, we have recognized the peculiarly equitable claim of those responsible for the physical completion of building contracts to be paid from available moneys ahead of others whose claims come from the advance of money. But in all those cases, the owner was a mere stake holder and had no rights of its own to assert. Respondent tells us that here the United States is in the same position and that as a general creditor, it has no more right to the money which it holds than does any other general creditor of the contractor.
At the time demand for payment was made by the receiver, the claim of the United States on the St. Louis contract was extant for some time. The disbursing officers, therefore, did not concede that they held the entire amount of the retained percentages for distribution to the contractor or others. And one whose own appropriation and payment of money is necessary to create a fund for general creditors is not a general creditor. He is not compelled to lessen his own chance of recovering what is due him by setting up a fund undiminished by his claim, so that others may share it with him. In fact, he is the best secured of creditors; his security is his own justified refusal to pay what he owes until he is paid what is due him." (Emphasis supplied)
Appellant (in the case at bar) after asserting that Munsey contains factual differences which "may afford a basis for distinguishing it" from the instant case, adds: "If, however, Munsey is interpreted broadly as stating a rule applicable to a case like the present one, then we submit that the decision is wrong in its conclusion and in the manner in which it dealt with the problem," and "Munsey is not a controlling authority in this jurisdiction." We disagree.
Appellant, in suggested support of its contention that Munsey is not controlling, makes the following further statements in its brief:
"* * * It was apparently argued that the labor and materialmen had rights against the United States to which the surety was subrogated. More of the opinion was devoted to the disposition of this particular proposition than to any of the other three. The Court held *283 ultimately that the labor and materialmen had no claims against the United States to which there could be subrogation. This conclusion has no bearing on Plaintiff's proposition which is that it is subrogated to the rights of the owner. [Emphasis supplied]

* * * * * * * *
It involved the sovereign and the contracts in question may have been such that the non-payment of suppliers was not a default by the contractor and no rights arose in the United States to which the surety could be subrogated. If the case is not limited in some such fashion, it represents a serious departure from major principles which have governed the rights and obligations in this three party relationship for many years.

* * * * * * * *
The inadequacy of Munsey is clearly demonstrated by the fact that it is impossible to tell from the opinion why the United States prevailed over the surety. Was it because there were no rights in the United States to which the surety could have been subrogated, in which event the subrogation rights were non-existent? Was it because the surety's right of subrogation was considered to be subordinate to the owner's right of set-off? It simply is not possible to determine on what basis the conclusion was reached or why."
Again we register our disagreement with appellant's conclusions.
Throughout its brief appellant repeatedly stresses its aforesaid contention that "it is subrogated to the rights of the owner" and eschews any claim that its recovery is founded on any other hypothesis. For instance, in its brief it asserts (a) that "plaintiff is subrogated to all rights of defendant in the contract balance" (emphasis supplied); (b) that "plaintiff is substituted for Defendant with respect to the rights of the latter to withhold the contract money and apply it toward the reduction of the loss incurred in curing the default"; and (c) that "Industrial Associates breached its obligations to Defendant in not paying its suppliers. This breach gave rise to rights in Defendant to apply the contract money toward the payment of these obligations. Plaintiff became subrogated to those rights of Defendant when it paid the suppliers and thereby discharged Industrial Associates' obligation to Defendant with respect thereto."
Appellant asserts that the Supreme Court in Munsey dealt in a summary fashion and without supportive reasoning for *284 its conclusion in considering the status of the "owner" (in the case at bar, the general contractor). Appellant states:
"If the decision is construed as deciding whether the owner's right of set-off is superior to the surety's right of subrogation, the question was disposed of, without discussion and without reasons, with the following sentence:
`In any event, we are not prepared to apply law relating to security to unappropriated sums which exist only as a claim.' ([332 U.S.] p. 243; [67 S.Ct., p. 1603] * * *)
In this casual manner, the Supreme Court rejected the applicability of basic principles which have governed the rights and obligations between the surety and the owner throughout the country for many, many years."
In so assessing Munsey, appellant has refrained from making reference to the crucial portion of that opinion which we have hereinabove quoted, which defines with particularity the position of the United States in that case and concludes (as we have noted) with the statement that such a creditor-owner (in the case at bar, the general contractor) is the "best secured of creditors" and that "his security is his own justified refusal to pay what he owes until he is paid what is due him." (Munsey, 322 U.S., at p. 240, 67 S.Ct., at p. 1602).
It is unnecessary to dwell an another phase of the Munsey opinion in which the court deals with the peculiar position occupied by the United States in its relationship to the claims of laborers and materialmen (322 U.S., at pp. 241-242, 67 S.Ct., at p. 1602), because it is clear that the decision therein turns on the status of the United States as owner-creditor (in the case at bar the status of defendant as general contractor), and appellant, as stated above, repeatedly asserts that this is the sole basis of its claim, viz., "that it is subrogated to the rights of the owner." (Emphasis supplied)
The fact that the United States was not a mere stake-holder and had rights of "its own" to assert is the basis for the Munsey decision and, we determine, is the basis on *285 which it is clear that in the case at bar the defendant (contractor) should prevail.
In United States F. & G. Co. v. Triborough Bridge Authority, 297 N.Y. 31, 74 N.E.2d 226 (Ct. App. 1947), at p. 227, the court said:
"The Supreme Court's recent decision in United States v. Munsey Trust Co., 67 S.Ct. 1599, decided June 23, 1947, neither reaches nor points a contrary result. There, the Government, itself in possession of the fund, asserted a claim of its own by way of set-off and, to the extent of that set-off, the fund upon which the surety's lien could operate was necessarily reduced. Quite different is such a case from one like the present  as the Supreme Court observed  where `the owner [defendant Authority herein] was a mere stake-holder and had no rights of its own to assert' United States v. Munsey Trust Co., supra."
As heretofore indicated, appellant suggests that Munsey should be limited in application because "it involved the sovereign." This was determined to be without merit in American Surety Company v. Hinds, 260 F.2d 366 (10 Cir. 1958), wherein the court said, at p. 368:
"We are not convinced, however, of the merit of reasoning which limits the clear holding of Munsey to factual situations where the government is a direct claimant. Mr. Justice Jackson, speaking for the court, notes that the claim of the surety must fail for two reasons, both the strength of the government's right to set-off and the weakness of the surety's claim to equitable rights in the fund. The reasoning of the opinion in the latter regard is in no way dependent upon the United States being a claimant." (Emphasis supplied)
We now turn to appellant-surety's second ground of appeal. It contends that its contract with subcontractor contained a provision which assigned subcontractor's contract with contractor to surety, effective as of the date of the construction contract, "but only in the event of any breach" by subcontractor. It argues that since subcontractor did default in the performance of its obligations under the contract, the assignment was effective. The basis of this argument is that contractor had immediate notice of this *286 assignment, since the requirement for such a provision was standard practice in the construction business. Therefore, it reasons, upon default by subcontractor, surety became entitled to its principal's contract rights effective as of the date of the contract and not subject to any set-off which came into existence subsequent thereto. It bases its contention upon the general principle that a debtor may not set off against an assignee any claims which he has against the assignor "which originate after notice of the assignment," citing N.J.S. 2A:25-1; Restatement, Contracts, § 167(1) (1932).
However, under the circumstances of this case, the foregoing general principle cannot constitute a basis for recovery by surety on the theory of assignment. Although the assignment was to be effective on the date of the contract, it was conditioned upon a breach of the contract by subcontractor. Since an assignee can have no greater rights than his assignor at the time a conditional assignment ripens into a complete assignment, it is necessary to determine what rights subcontractor then enjoyed. It is clear that subcontractor, by failing to complete construction and by failing to pay suppliers (which it was obligated to do), breached said contract. It thus had no right or claim to the unpaid portion of the consideration. Consequently, no right thereto passed by assignment to surety, and surety on the basis thereof is no more entitled to recover the unpaid portion than subcontractor, its assignor. We conclude that contractor's set-off is superior to any alleged assigned rights of surety.
Affirmed with costs.
NOTES
[*]  Now N.J.S. 2A:44-148, N.J.S.A.
