The action is to foreclose a mechanic’s lien. The parties entered into a building contract whereby the plaintiffs agreed, for the sum of $13,132.60, to-erect and finish an extension to and make certain alterations in the defendant’s house. The complaint alleged full performance of the contract and specifications, and states that there has been paid to the plaintiffs for their work $16,185.25, and that there is still due them for extra work $2,599.90, to recover which sum this action is brought. The specifications contained. the" provision that “ no extra charge will be allowed unless ordered by the owner in writing, and unless prices are agreed upon in writing, and in that event it must be specially, stated, that the work to be done is an extra.” The defense was non-performance of this condition.
Proceeding upon the theory alleged in the complaint, of full performance, the case was reached for trial; but, instead of sustaining the allegations in support of this theory, the' plaintiffs sought to introduce parol evidence of excuses and reasons for non-performance *605and. of waivers of performance. Such evidence was excluded, and then, at the plaintiffs’ request, the trial was adjourned for two weeks to enable them to amend their complaint. Thereafter some efforts were made to reach a settlement. These, however, resulted in failure, and the plaintiffs, instead of availing themselves of their privilege of moving to amend the complaint, elected again to proceed with the trial.
On' the renewal of the trial the attempt to introduce evidence showing grounds for non-performance was again unsuccessful, and such evidence was again excluded. The court, instead of dismissing the complaint, sent the case back, on the plaintiffs’ application, to the general calendar upon payment of thirty dollars costs, with leave to move at Special Term for an amendment of the complaint. These costs were paid to defendant, and thereafter this motion to amend was made and granted upon the following conditions, viz., on payment of ten dollars costs of this motion, “ without prejudice to proceedings already had.”
As said in McEntyre v. Tucker (40 App. Div. 444): “ It seenis to us that the terms upon which the motion was granted were entirely inadequate. It is conceded by the motion that the plaintiff cannot recover in the present form of action. The defendant was, therefore, justified in defending; and for the costs and disbursements to which he has been put in the establishment of a successful defense he is entitled to be reimbursed.” (See, also, as to terms which should be imposed, Fox v. Davidson, 40 App. Div. 620; Bates v. Salt Springs Nat. Bank, 43 id. 321.) We think, therefore, -that the court should have required, as a condition of the amendment, the payment of all costs and disbursements subsequent to the service of the complaint to be taxed.
We also think, upon the facts here appearing, that it was improper to grant the motion “ without prejudice to proceedings already had.” Prior to the amendment of section 723 of the Code of Civil Procedure in 1900 (Laws of 1900, chap. 591) a provision of this kind in an order was unauthorized, and although the insertion of such a condition is now discretionary, this necessarily means legal discretion. So far as this provision permits the case to hold its present position on the calendar we have no criticism to make ; but if it is in tended thereby to permit the testimony already taken *606in support of the old cause of action to stand, it should not upon the facts here appearing be allowed, as this would affect a substantial right.
The order should .accordingly be modified by imposing costs and disbursements as above indicated and by requiring the plaintiff upon the new issues to try the case de novo, and as so modified affirmed, without costs to either party upon this appeal.
Ingraham, McLaughlin and Laughlin, JJ., concurred; Van Brunt, P. J., dissented.
Van Brunt, P. J.:I think the motion should have been denied.
Order modified as directed in opinion, and as modified affirmed, without costs.