This suit was brought by plaintiffs, who are husband and wife, against defendant to recover damages for an alleged breach of contract. It appearing to the court that the cause involved, the examination of a long account, it was by consent of parties thereto referred to R. E. Ball, Esq., to hear the testimony and report his conclusions as to law and fact.
The finding of the referee was for plaintiffs on which judgment was given accordingly, and to reverse which defendant has appealed. The appealing defendant assigns a number of grounds upon which he claims a reversal of the judgment. „
The first among these is, that there is a fatal want of correspondence between the allegations of the petition and the proofs, in this, that the allegations of the *525petition, when summarized, are: First. That defendant had certain money in his hands to be used in erecting the house. Second. That in its use in building said house the defendant agreed not to pay it out except on receipted bills for work and materials, on orders or certificates of the contractor. Third. That relying on such agreement plaintiffs were induced to buy the house in question and in consideration of such contract assumed to pay a note and mortgage on said property. Fourth. That defendant failed and refused to so pay out said money on the order or certificate of such contractor. Fifth. That thereby the plaintiffs were damaged; while the evidence introduced by plaintiffs, over defendant’s objection, was to the effect “that the defendant agreed that if plaintiff James buys this property every bill that I pay will have to be receipted and held in my desk with Dr. James’ “O. K.”
It must be conceded that this evidence did not rend to prove the allegation of the petition. It is quite manifest that while it tended to prove that defendant agreed to pay the bills for work and materials for the construction of the house only on the approval of plaintiff James, it did not in the remotest degree tend to prove that the defendant had agreed to pay the same in the manner alleged in the petition. The referee therefore erred in overruling defendant’s objection to the introduction of this evidence.
By reference to the report of the referee it is to be seen that the fact which this evidence tends to prove was found and reported by him as one of the grounds upon which plaintiffs’ claim to damages was allowed. And in support of his exceptions to the report of the referee, defendant filed an affidavit of surprise showing that he had prepared his case for trial and had proceeded upon the 'idea that the plaintiffs’’ claim for damages was based upon a violation of the agreement *526alleged in the petition; that “he was not prepared to try the ease upon the theory that S. C. James was to approve the expenditures nor upon the theory that it devolved upon the defendant to affirmatively account for the money in his hands as stated by the referee; that had defendant been aware that the referee was to so hold he could have prepared by having the house in controversy measured up to show that defendant expended fully the sum loaned on said house to Arthur E. Hull including the said sum of $3,750 in said house and affiant at no time pending the hearing before said referee, learned that the burden of showing that he had so expended the money loaned on said house would be required of him and did not learn that .said referee so claimed until the report herein was filed.” The affidavit in such cases is the test of surprise. Fischer v. Max, 49 Mo. 404; Turner v. Railroad, 51 Mo. 509; Willis v. Sharp, 57 Mo. 56; Ely v. Porter, 58 Mo. 160, 161; Myer v. Chambers, 68 Mo. 628. It, therefore, appeal’s that the defendant was misled to his prejudice by this variation in the maintaining his defense on the merits, ^t follows that the trial court erred in its action in overruling defendant’s exceptions to the report of the referee. It should have set aside the report and given leave to amend the pleadings and then sent the cause back to the referee.
The plaintiffs contend that, even if the evidence referred to was improperly admitted, the finding of the referee was for the right party and ought to be upheld. We can not tell what effect this evidence had on the mind of the referee or to what extent it influenced his determination of the issues. It is certain that he did not regard it as unimportant. It appears by his report to have been one of the basic facts which he felt warranted the conclusion he reached.
It may not be out of place here to suggest that *527the action is one at law and not in equity, therefore the rule stated by the referee in his conclusions of law by which he found that the defendant held the money for the erection of the house purchased by plaintiffs as a trustee, and-that the burden was on him to account for and show what disposition was made of it, was erroneous. The relation between plaintiffs and defendant under the agreement was none other than that of debtor and creditor. Defendant owed Hull $3,700 which he had bound himself to pay for labor and materials to go into the house which the latter was building. If not all required to complete the house the excess would have been directly due Hull. Under the agreement made between Hull and plaintiffs with the consent of the defendant, the former was substituted and became defendant’s creditors in the place of Hull. There was nothing in the facts of the case to draw it into equity. Defendant was neither a trustee nor quasi trustee. There was no confidential relation existing. Equitable jurisdiction,, it is said, has always rested largely upon such relation of confidence involving the need of discovery and the duty of explanation; and the proof of its truth falls in such cases upon the defendant, whose conduct is questioned whenever an accounting is decreed, and required of him extreme good faith. Leeper v. Taylor, 111 Mo. 317; Story, Eq. Juris., secs. 315, 316; Marvin v. Brooks, 94 N. Y. 71; Johnson v. Moss, 45 Cal. 515. This is not such a ease, and if it were the pleadings disclose an action at law to recover damages for breach of contract and so the rule is inapplicable.
It is not perceived that the defense of the statute of frauds could be invoked by defendant. Hull for a sufficient consideration.assigned the amount of money due by defendant to him to plaintiffs with defendant’s •consent. Defendant had bound himself to pay out *528this money in a certain way and for certain purposes and if he failed to do so and the plaintiffs were damaged thereby they ought to recover.
No merit is discovered in the other grounds of the appeal urged by defendant. The judgment will be reversed and the cause remanded.
All concur.