This action was brought upon three promissory notes, aggregating $2,200, made by W. J. Butler, and payable on demand to the order of J. F. Wyckoff. The defense chiefly relied upon on the trial was that the payee agreed to accept the.professional services of the maker as an attorney and counsellor at law in payment of the notes, and that the notes were fully paid by the rendition of such services. The referee found that the alleged agreement was made in regard to the mode of payment, but refused to find that the notes had been paid in the manner thus provided for. The evidence on that question was conflicting, and we are not prepared to say that the conclusion reached by the referee was not correct. There would be no occasion to interfere with the judgment, therefore, if it was confined to an adjudication that the plaintiff was entitled to recover from the defendant the amount of the notes with interest and costs. It goes much further, however, and determines adversely to the defendant a certain portion of the counter-claim interposed by his amended answer, which his counsel had withdrawn in the course of the trial. The right thus to withdraw a counter-claim is questioned by the learned counsel for the respondent; but we cannot see why it does not exist, just as a plaintiff may submit to a nonsuit up to the time when a case goes to the jury. So far as his counter-claim is concerned, the defendant occupies the position of a plaintiff. The judgment ought to be modified by striking therefrom the provisions relating to those portions of the conn? ter-claim which were withdrawn during the progress of the reference, and, as thus modified, it should be affirmed, without costs to either party upon this appeal. Judgment modified so as to exclude any adjudication on the merits of the counter-claim which was withdrawn, and, as thus modified, affirmed, without costs. Order to be settled by Mr. Justice Bartlett. All concur.