1. Contracts construction: recovery. Although the ease was commenced before a justice of the peace to recover judgment for $200 on a promissory note, presumably the same instrument which was introduced in evidence in the district . % « « court, and in which there was a stipulation # x ■ that a justice of the peace should have jurisdiction of an action thereon, the trial was had in the district court on an amended and substituted petition reciting by way of exhibit an instrument signed by the defendant, in the form of a promissory note dated October 30, 1903, for the absolute payment of the sum of $200 but with an indorsement on the back reciting a stipulation by which the Forest City Nursery Company agreed to plant “ said orchard ” for defendant during the spring of 1904, and the further stipulation that, “ should said nursery company plant said orchard as above stated, then the said Fred Geitz hereby agrees that he will give a negotiable note in lieu of this agreement, due and payable October 30, 1904.” It appears that the note and the agreement indorsed on the back thereof were executed at the same time, and as parts of the same transaction, and they are therefore to be construed together.. It also appears that there had been a prior written agreement between the Forest City Nursery Company and the defendant for the sale and delivery by the nursery company to the defendant of certain specified fruit trees and evergreens, to be delivered in the fall of 1903, which should be *148paid for by defendant on delivery; but attached to this written contract of sale was a stipulation by the nursery company that it would trim, prune, and replace all trees free for five years, and “ send in spring to set orchard free of charge, . . . trees to be in reasonably good condition del. day.”
We think the court properly construed these contracts, taken together, to require, not only the delivery of certain specified trees in the fall of 1903, but the keeping of these trees alive and the planting .them into an orchard in the spring of 1904. The planting of dead trees in the spring of 1904, or of trees in such condition that they would not make an orchard, would not be a compliance with the contract, and, if the orchard as thus planted was substantially worthless, then, as the court instructed the jury, there could be no recovery by the plaintiff.
This view disposes of the numerous assignments of error by appellant as to the introduction of testimony for defendant tending to show that the orchard as planted was of no value as an orchard.
3 Evidence: competency. The witnesses testified as to the condition of the orchard in December, 1904, but, as they based their testimony on the fact that a considerable proportion of the trees had not -leaved out at all during the summer, the facts which they observed at that time tended very strongly to show that when the trees were planted in the spring they were dead, and the evidence that the orchard was worthless in the fall was material as tending to show what its condition had been in the spring.
3. Same Complaint is made of the sustaining of objections to questions asked of the defendant as a witness on cross-examination with reference to giving an order to one Shirley to replace some of the trees which were dead. As there is nothing in the record to indicate that Shirley was the representative of the Dorest City Nursery Company or of the plaintiff in this action, nor to suggest that the defendant had any knowledge that the Standard *149Nursery Company, which Shirley seems to have in fact represented, was in any way connected with or responsible for the contracts of the Forest City Nursery Company or authorized to carry them out, there was no error in these rulings.
4. Instructions: duplicity. The principal objection to the instructions is that of “ duplicity.” We are not referred to any authority for the proposition that instructions are necessarily erroneous on account of duplicity. It is said also that they are inconsistent; but a reading of them fails to sustain the criticism. We think they properly presented the issues to the jury, and, as there was evidence to support the verdict, there is no occasion for us to interfere with the judgment.
5. Contracts: right of action In view of the conclusion reached on plaintiff’s appeal, the appeal of the defendant from the ruling of the trial judge refusing to strike out the amended and substituted petition filed in the district court and to dismiss the appeal from the justice of the peace in which such petition was filed need not perhaps be noticed. It may be said, however, that in our opinion plaintiff’s action was not properly based on the note executed October 30, 1903, in payment for the trees delivered by the Forest City Nursery Company to defendant, but could be maintained, if at all, only for failure to give a negotiable note as stipulated in the contract indorsed on the back thereof, after the orchard had been planted by the nursery company, as agreed, in the spring of 1904. When the so-called note was executed in October, 1903, reciting an obligation to pay on the very date on which the note was executed, there was nothing due under the terms of the agreement to the nursery company. No recovery under the instrument could be had in our opinion until a negotiable note was demanded, after the performance of the stipulation to plant the orchard, and the right of recovery, if any, was for damages for breach of the agreement, and not on the note of October, 1903, in lieu of *150which, another negotiable note Avas to be executed. Under this view of the case the appeal should have been dismissed, for the justice of the peace had no jurisdiction.
T6. Justice of the jurisdiction: appeal. The suit in the justice’s court was for $200 on a promissory note, and assuming a fact which the record does not show, that the instrument sued on before the justice of the peace was the same instrument attached to the x amended and substituted petition as the basis 0f acp;onj which contained a recital of consent to jurisdiction of a justice of the peace in an action on that instrument, it is plain that such consent would not be effectual to give the justice jurisdiction to recover damages to the extent of $200 for breach of the contract to execute a negotiable note when the contract should be performed. It is well settled that, if the justice of the peace does not have jurisdiction, then, although the defendant appears and proceeds to trial, he may on appeal to the district court urge the want of jurisdiction of the justice. Badly v. Birhhofer, 123 Iowa, 59; Porter v. Welsh, 111 Iowa, 144; Erret v. Pritchard, 121 IoAva, 496.
7. Justice of the peace new cause of action. Furthermore, it is well settled that on an appeal from a justice of the peace to the district court, the plaintiff cannot by amended pleadings-set up a different cause of action than the suit before the justice °f the peace was based. Boos v. Dulin, 103 Iowa, 331. We think that the trial court erred in overruling the defendant’s motion to strike the amended and substituted petition and dismiss the appeal.
For the purpose of disposing of the case, it is sufficient to announce our conclusion that the judgment of the trial court called in question by plaintiff’s appeal should be, and is, affirmed.