Defendant contends that, since plaintiff has not prayed for affirmative relief, the court exceeded its power in granting him a decree of strict foreclosure. This proceeding was begun as a replevin action, and the defendant followed the procedure set out in Chapter 95, Laws of 1917, by *235pleading an equitable defense, and asking for an accounting, and plaintiff replied, without any specific prayer for equitable relief. The amendment of 1917 was designed to relieve a defendant, having an equitable defense, from the necessity of filing a complaint in the nature of a cross-bill, and permits him to set up such defense in an answer to the complaint. The amendment provides that:
“Equitable relief respecting the subject matter of the suit may thus be obtained by answer, and equitable defenses to new matter contained in the answer may thus be asserted by reply. When such equitable matter is interposed, the proceedings at law shall be stayed, and the case shall thereafter proceed until the determination of the issues thus raised as a suit in equity by which the proceedings at law may be perpetually enjoined or allowed to proceed in accordance with the final decree, or such equitable relief as is proper may be given to either party.”
1. It will be noted that the statute gives a large discretion to the trial court, and properly so. In the case at bar the complaint alleged the ownership of the truck to be in plaintiff, with the right of immediate possession, which was demanded. The answer denied every allegation of the complaint, alleged ownership of the truck and right of immediate possession in defendant, alleging further that, if an accounting should be had between the parties, it would develop that defendant had paid all of his obligations to plaintiff, and that he would be entitled to recover moneys from him. The reply joined issue thereon, and the case proceeded as a suit in equity, wherein the court found that plaintiff had purchased the truck, taking title in himself, and had agreed to sell it to defendant at cost, giving defendant time in which to make the payments. It was further found *236that, without having made the required payments, defendant wrongfully took possession of the truck and conveyed it from Bellingham, Washington, to Portland, Oregon. An accounting was had, wherein it was determined that, while the defendant had made some payments on the purchase price, he still lacked $2,962.09 of having paid the price which would entitle him to any ownership in the property. If these findings are justified by the evidence, the court might have been content to do no more than to award the immediate possession of the car to the plaintiff, but this course would not have been just as to the defendant, and so, in a spirit of fairness, the decree gives him additional time in which to make his payments and acquire ownership of the property. This, we think, was clearly within the province of the court, under the pleadings and the statute.
2. It is next urged that the evidence does not sustain the allegation that the taking by defendant was wrongful, and that there is no evidence of any demand for the return of the property.' It is conceded, of course, that, if the taking was wrongful, no demand for the return is necessary. The evidence as to whether or not the taking was wrongful is to some extent conflicting and uncertain, but it appears from the defendant’s answer that he claims title in himself, and the right of possession, a situation which relieves the plaintiff from the necessity of proving a demand: Brown v. Truax, 58 Or. 572 (115 Pac. 597).
3. It appears from the record that the work done by defendant for plaintiff, after the purchase of the Velie truck, was done at the agreed price $1.52½ per yard, for all of which it is agreed that defendant had received credit. However, defendant sought to show that it was also agreed that he' should be supplied *237with* sufficient work at that rate to enable him to make his payments on the truck, and that plaintiff had violated this part of the contract by employing so many trucks that there was not work enough to keep defendant occupied, and that therefore he should be credited with the reasonable value of his services, which he claimed to be $2.50 per hour. In support of this position, defendant, during the trial, asked leave to amend his answer to include allegations of such breach of the agreement. The denial of this application is assigned as error. The defendant’s answer is based upon an express contract, which he seeks to have enforced, but by. the proposed amendment he would add a new issue, in the form of a breach of contract and damages therefor. Section 102, L. O. L., provides that during the trial amendments to pleadings may be allowed which do not substantially change the' cause of action or defense. The amendment in question does substantially change the defense, and injects an entirely new issue, and was properly denied.
We have carefully analyzed the evidence in the case, and are satisfied that the findings made by the trial court are fully justified thereby. The decree is therefore affirmed, with the provision that the thirty days allowed defendant in which to complete his purchase of the truck shall begin with the date when the mandate herein is entered in the lower court.
Affirmed. Behearing Denied.
McBride, C. J., and Harris and Burnett, JJ., concur.