¶1The plaintiff commenced this action to recover a commission or compensation for services rendered which he alleges resulted in the sale of certain mining property owned by the defendant. The complaint contains what is contended constitutes three “causes of action.” In the so-called first cause of action, it is in substance alleged that on April 23, 1903, the defendant was the owner of certain mining claims located in Salt Lake County, fully describing them; that on or about the 30th day of April, 1903, the defendant employed the plaintiff to sell said mining claims “and agreed to pay the plaintiff a commission of ten per cent, for the sale thereof”— that is, ten per cent, of the sale price, which “was to be paid to this plaintiff by the defendant when said sale was made”; that pursuant to said agreement the plaintiff showed said property to prospective purchasers, and at times opened negotiations with different parties for the sale thereof.' What *258was done in that regard by plaintiff is fully set forth. It is further alleged “that by reason of plaintiff’s continuous efforts, explanations, illustrations, and representations to Jos. E. Edmunds of the advantages and values of said mining property, the said Jos. E. Edmunds did, on the 6th day of December, 1906, pay to Joseph Nelson (the defendant) the sum of $50,000, and did therewith purchase from the defendant all of said mining property.” It is further alleged “that said mining property was sold through the efforts of plaintiff, and that said plaintiff was the procuring cause of said sale.” It is then alleged that ten per cent, is the regular commission, and “that plaintiff’s services rendered during and between the dates named in reference to the sale of this property were reasonably worth $5,000, and that ten per cent, of the sale price is justly due and owing to the plaintiff in this action.” It is then alleged that payment of said commission was demanded and refused. For the purpose of avoiding the plea that the action was barred, it was also alleged, in appropriate terms, that a prior action upon the same cause of action had been timely commenced, but had failed otherwise than upon the merits. Judgment for $5,000 was prayed for in the first alleged cause of action. The plaintiff then proceeded to state Avhat is termed a second cause of .action, ini which the dates respecting the employment, the ownership, and description of the mining claims are precisely as alleged in the first cause of action. The only difference between the so-called first and second causes of action is that in the alleged second cause of action it is stated that the defendant employed the plaintiff “to', assist the defendant in selling the mining properties mentioned herein and to do and perform services for the defendant in finding a purchaser therefor, and the defendant agreed to pay the plaintiff for said services ten per cent, of the price for which said property might be sold,” which ten per cent., it is alleged, was payable when the sale was. made, “whether said sale was perfected through the efforts of this plaintiff alone, or through the efforts of the defendant, or whether said sale was perfected by the joint efforts and labors of both plaintiff and defendant.” What plaintiff did by way of pro*259curing a purchaser for said mining claims is again fully set forth, and the date of the sale, the amount of the purchase price, and tlje person to whom sold are alleged in substantially the same terms as in the alleged first cause of action. The bringing of a prior action is also again stated, and judgment prayed for the same as in the preceding cause of action. Practically the same allegations are again repeated in what is denominated a third cause of action. To these several causes the defendant filed an answer in which he admitted that he was the owner of the mining claims at the date alleged, and denied generally all other allegations of the complaint. He also averred that the alleged causes of action were barred.' A separate answer was directed to each one of the alleged causes of action.
¶2The ease was tried to the court without a jury. Plaintiff, in substance, testified that he was well acquainted with the mining claims in question; that at one time he was a stockholder in a corporation which owned them; that in April, 1903, he had a conversation with the defendant; that the defendant then stated to the plaintiff that he, the defendant, was not familiar with the mining business and wanted plaintiff to help sell the mining claims in question and get them off defendant’s hands; .that the defendant, addressing plaintiff, said, “You have lost, of course, on it (the mining claims) and you can be reimbursed partly by helping me sell this property, and now,” he said to me, “Dave, will you take hold of it and do the best you can, and we will both try and sell it, and, if successful, I am going to' give you a commission; I will pay you a reasonable commission.” The witness further testified that the defendant, in substance, said to him that whenever the property was sold the plaintiff would be paid ten per cent, commission out of the property for whatever services he rendered. “He [meaning defendant] stated it this way: That he wanted me to help him in various ways, and I would get nothing for my services until the property was sold.” The witness said that he had several conversations with the defendant from time to- time in which the latter substantially made the same promises and statements as we have just outlined. He- further testified that, *260pursuant to these conversations, he made efforts to- sell the property, and, for that purpose, showed it to various prospective purchasers by taking them to and over the property; that he in particular labored with Jos. E. Edmunds to purchase the same, who thereafter purchased it from the defendant. The plaintiff stated in detail what he did in order to bring' about the sale. Plaintiff’s statements were, to some extent at least, supported by another witness, who testified that he and a Mr. Evans were prospective purchasers; that the defendant introduced the witness to the plaintiff, and that he “gave me the impression” that the plaintiff was acting as defendant’s agent in selling the property; that the defendant said that plaintiff would show the property to the witness, and the plaintiff did take the witness and Mr. Evans to the property and showed it to them; that terms of sale were discussed by the parties, but they could not agree upon a price. The plaintiff introduced in evidence a warranty deed for the mining claims in question from the defendant and wife to Jos. E. Edmunds which was executed December 6, 1906, and in which the expressed consideration was $50,000. Plaintiff also testified that before bringing the action he had demanded the commission from the defendant, and that the latter refused to pay the same. The complaint in the prior action was also introduced in evidence.
¶3In substance, the foregoing is all the evidence that was produced. When the plaintiff rested, defendant’s counsel moved the court to require plaintiff to elect on which “cause of action” he would rely for a recovery.- Plaintiff’s counsel objected to this, but was compelled to elect, and did elect to stand upon what is termed the second cause of action in the complaint. When counsel had elected to stand on the second cause of action, counsel for defendant moved for non-suit, upon the ground that it was made to appear that the cause of action upon which plaintiff had elected to stand was barred by the statute of limitations. Counsel for defendant contended, and now contends, that the second cause of action in the complaint was not saved by the prior action, for the reason that it is a separate and distinct cause of action, and *261is different in its nature and legal effect from tbe cause of action which was set forth in the prior action.
¶4
¶5
“Where a complaint contains two counts, one on an open account and the other on an account stated, for the same cause of action, a motion to elect between the counts was properly denied; the rule being that when a plaintiff has … a single cause of action, and there is some uncertainty as to which he will be able to establish, he may set forth his claim in different counts so as to include every ground he may have for recovery.”
¶6In addition to the cases there cited, see Willard v. Corrigan, 8 Ariz. 70; 68 Pac. 538; Birdseye v. Smith, 32 Barb. (N. Y.) 217; Rucker v. Hall, 105 Cal. 425; 38 Pac. 962; Sussdorff v. Schmidt, 55 N. Y. 319; Clark v. Allen, 125 Cal. 276; 57 Pac. 985; Phillips on Code Pleading, section 207.
¶7If, therefore, a. pleader may make a duplicate statement of his right to recover judgment, it is a plain and palpable *263invasion, and may be a denial, of the right to require him to elect upon which statement he will stand. Instances where duplicate statements are required rarely arise, but the fact that such is the case should- not affect the right to make them when the occasion arises. The complaint, under such circumstances, must be considered in its entirety, and the evidence adduced must be applied to the whole pleading, and the court must grant such relief as the pleadings support and the evidence justifies. In this case the court, however, erred in compelling an election for another reason.
¶8
¶9*265The court, therefore, erred in requiring the plaintiff to elect; in holding that the alleged causes of action contained separate and distinct rights of action; that there was a variance between the allegations in the so-called first cause of action and the evidence adduced; and in holding that, by reason of the election, plaintiff’s right to recover was barred. The judgment is reversed, and the cause remanded to the district court of Salt Lake County with directions to grant a new trial, and to proceed with the ease in accordance with the views herein expressed. Appellant to recover costs.