
    James R. Johnston and James F. Kelly, Composing the Firm of Johnston & Kelly, Appellants, v. John Vinton Dahlgren, Respondent.
    
      P lumbers in Peto York city not registered under chapter 602 of 1892 — a contract for plumbing not enforcible by them — a contract for other work in connection therewith may be.
    
    Plumbers in the city of New York who, although they have a certificate of competency under the provisions of chapter 602 of the Laws of 1892, have never registered their name and address at the office of the board of health, or received a certificate of such registration as required by that statute, cannot enforce payment of a contract for plumbing work done in that city.
    Ingraham, J., dissented.
    Where, after the employment of such plumbers by the owner of a house, it is ascertained that a large amount of carpenter and mason work and plastering and painting will be necessary to fit the house for occupancy, and the plumbers, under instructions from the owner, procure such other work to be done, they are'not precluded from recovering therefor by reason of their failure to comply with the act of 1892.
    Appeal by the plaintiffs, James R. Johnston and James F. Kelly composing the firm of Johnston & Kelly, from a judgment of the Supreme Court in favor of the defendant, entered in the office of the clerk of the county of New York on the 22d day of December, 1897, upon the report of a referee dismissing the complaint.
    
      George C. Ictxj, for the appellants^
    
      Abram I. Ellcus for the respondent
   Rumsey, J.:

The plaintiffs are master plumbers engaged in business in the city of New York, and were such in the month of December, 1894. .The defendant was the owner of a house in Fifty-sixth street iu that city, and in the month of December, 1894, lie employed the plaintiffs . to do some plumbing in that house. Conversations were had with regard to the amount and cost of the work, which was estimated at that time to be considerably less than afterwards was expended upon it. The plaintiffs undertook the work, but it was speedily ascertained, that in addition to the plumbing, a large amount of carpenter work and painting would be necessary, and the defendant. employed the plaintiffs to procure that work to be done as it might be required. The plaintiffs proceeded with the work until it was finally finished about the 16th day of February, 1895. The whole cost of the work amounted to $7,851.89. There was paid upon it, from time to time, in cash payments and by offsets which were allowed to the defendant, the sum of $5,229.11, leaving a balance unpaid of $2,625.78, as is claimed by the plaintiffs. This sum not having been paid, the plaintiffs, on the 2d of April, 1895, filed a mechanic’s lien against the house, which this action was afterwards begun to foreclose. Upon the trial the serious question litigated, in addition to the value of the work, was whether the contract with the plaintiffs was a valid one, so that they were entitled to recover the amount of the bill.

It appeared that the plaintiffs were master or employing plumbers, and that a very large portion of the claim which they made was for work done and materials furnished by them in that business. The plaintiffs, although they had a certificate of competency to do work as plumbers under the provisions of chapter 602 of the Laws of 1892, had never registered their name and address at the office of the board of health, or received a certificate of such registration, as required by that statute; and the defendant claimed that as the statute, in terms, made it unlawful for any person to carry on or engage in the trade or business of an employing plumber in any of the cities of the State unless his name and address had been registered with the board of health as required (Laws of 1892, chap. 602, § 6; Laws of 1893, chap. 66), they were not entitled to recover for the work thus made unlawful by the statute. Upon the trial the referee held that the contract by the plaintiffs to do the plumbing was unlawful because they had not complied with the statute cited above; that the contract was an entire contract, and, therefore, the whole of it was unlawful; and that for that reason the plaintiffs were not entitled to recover anything, either upon the plumbing contract or the contracts for painting and carpentering work which they had procured to be done. And from the judgment entered upon this report this appeal is taken.

It is objected by the plaintiffs, in the first place, that the invalidity of the contract is not sufficiently pleaded. The answer sets up as a separate defense that at the! time set forth in the complaint during which the plaintiffs claim to have performed work, labor and services for the defendant, and furnished materials, the plaintiffs had failed to register their names with the board of health of the city of New York. No objection was taken to this pleading before the trial. It must be read in connection with the complaint by which the plaintiffs sought to recover for plumbing, as well as other things. It was not necessary for the defendant to set out the statute, which the court was bound to take notice of. It was simply necessary to set up those facts which were required to enable the court to see that the plaintiffs, as to a portion of this work at least, were required, before they could undertake it, to register their names and addresses with the board of health of the city of New York; and when the defendant had alleged that this was not done, the invalidity of the contract to do plumbing necessarily followed as a conclusion of law, from the provisions of the statute of which the court was bound to take notice. While, therefore, the pleading is not to be commended for its form, and might have been more explicit, yet it is sufficient at this stage of the action to raise the question presented by the defendant and upon which the ■case was decided by the referee. In express terms, the statute provides that it shall not be lawful for any person to engage in or carry on the trade, business or calling of an employing or master plumber, in any of the cities of this State, unless his name and .address should have been registered as above prescribed. It has been determined that this statute is constitutional. (People ex rel. Nechamous v. Warden, etc., 144 N. Y. 529.) It hardly needs the ■citation of authorities to establish the proposition that, as the contract to do plumbing under these circumstances is unlawful, the ■courts will not give any aid in enforcing it and will not permit a person to recover anything because he has performed it. (Broom Leg. Max. [2d ed.] 576 ; Leavitt v. Palmer, 3 N. Y. 19.) So far .as the plumbing is concerned, therefore, the plaintiffs clearly were not entitled to recover in this action.

But the referee went further and held that the contract was an entire contract; that as a portion of it was void, the whole was void, .and that, therefore, the plaintiffs were not entitled to recover anything. The evidence shows that the plaintiffs were first employed vto do the plumbing in the house; that almost immediately after the work was begun it was ascertained that a large amount of work of other kinds would be necessary before the house could be put in condition to occupy. This work consisted of carpenter and mason work and plastering and painting. In no sense could this be said to be incidental to the plumbing, because it appears that it-largely consisted in the removal of partitions and other changes in the interior of the house, which had no necessary connection with the plumbing work done exclusively by the plaintiffs. This work, except the plumbing, was done by persons who were employed for that particular purpose by the plaintiffs, under the instructions of the defendant; and while the plaintiffs, having employed them, were bound to pay them, they incurred no liability to the other workmen not engaged in plumbing, by reason of the plumbing contract, but the liability to these workmen grew out of their employment to do the kind of work which they did in order to complete the house in respect of matters which wore entirely independent of the plumbing and had nothing to do with it. The amount to be paid to each one of these workmen was a matter between himself and the plaintiffs acting for the defendant. It depended upon the amount of his work, the time taken in it, and its value; and the payment to persons employed in different kinds of work liad no relation whatever to the amount to be paid to a man employed in any other kind of work. The contract in that regard clearly was a severable contract within the definition given of that kind of a contract in the text books and the authorities, in which a contract is said to be severable when the part to be performed consists of several distinct and separate items, and the price to be paid is proportioned to each item or is left to be implied by law. (2 Pars. Cont. 517; Ming v. Corbin, 142 N. Y. 340.) The conclusion of the referee, therefore, that the plaintiffs were entitled to recover nothing because this contract was entire and thus void in all its parts, cannot be sustained.

The plaintiffs claim also that the payments which were made upon the work from time to time were applied by them, upon the plumbing, and should be credited upon that, and that for that reason they are entitled to recover the difference between the amount of the other work and the remnant of payments applicable upon that work, after the plumbing has been fully paid for. It is unnecessary to consider this contention. Whether the payments which were confessedly made upon general account were sufficient, after paying the legal items to which they should lie first applied (Huffstater v. Hayes, 64 Barb. 573), to make any material reduction upon the amount claimed for plumbing, and how much, if any, should be applied upon the plumbing, can only be made to appear by testimony taken upon that point upon the new trial which it is necessary to order, and need not be considered here.

For the error of the referee above stated, however, a new trial must be ordered before another referee, with costs to the appellant to abide the event.

Van Brunt, P, J., and Patterson, J., concurred.

Ingraham, J.:

I concur with Mr. Justice Rumsey in the reversal of this judgment, but I do not concur in the conclusion that a plumber who has not complied with the provisions of chapter 602 of the Law's of 1892 to do plumbing work cannot, after the contract has been performed and the work furnished under it, recover from the other party to the contrac t for the work and materials that have been actually furnished. This act in question is entitled “ An act to secure the registration of plumbers and the supervision of plumbing and drainage in the cities of the State of New York,” and the act provides a method by which those wishing to engage in the business of plumbing in the said cities shall be examined by a board to be appointed by the mayor in each of the cities of the State, and to issue a certificate of competency to all such persons wrho shall have submitted to and passed a satisfactory examination before such board. By section 5 of the act it is provided that “ Any person desiring or intending to conduct the trade, business or calling of a plumber or of plumbing in any of the cities of this State as employing or master plumber, shall be required to submit to an examination before such board of examiners as to liis experience and qualifications in such trade, business or calling; and after the first day of March, eighteen hundred and ninety-three, it shall not be lawful in any city of this State for any person to conduct such trade, business or calling, unless he shall have first obtained a certificate of competency from such board of the city in which he conducts or proposes to conduct such business.” By section 6 of the act it is provided that“ after the first day of March, eighteen hundred and ninety-three, it shall not be lawful for any person to engage in or carry on the trade, business or calling of an employing or master plumber in any of the cities of this State unless his name and address shall have been registered,” as provided in the section. By section 13 of the act it is provided : “ Any person violating any of the provisions of this act or any rules and regulations of the board of health, or of the board of examiners in any city regulating the plumbing and drainage of buildings of such city, shall be deemed guilty of a misdemeanor, and, upon conviction, if a master plumber, shall, in addition, forfeit any certificate of competency or registration which he may hold under the provisions thereof.” Prior to the passage of this act it "was legal for any one to conduct the business of a plumber without any examination or registration. By this act it was first provided that it shall not be lawful for any person in any city of this State to conduct the trade, business or calling of a plumber unless he shall have first obtained a certificate of competency from the board of the city in which he conducts, or proposes to conduct, • such business ; and a penalty is provided for a violation of the provisions of the act by making a person violating it guilty of a misdemeanor, and also forfeiture of the certificate and registration under the act. Here the statute first provides that an act which before had been legal shall be illegal, and provides a penalty for a violation of its provisions. Upon the familiar principle that where a statute declares an act which was before legal to be illegal, and provides a penalty for a violation of the statute, that penalty is exclusive, this act does not provide that a contract made by a person carrying on such business which is there declared to be illegal should, in addition to the penalty prescribed by the act, forfeit to any one with whom he made the contract, the value of the labor and materials that lie had furnished to such person under the contract; and I do not think that any such penalty follows upon a violation' of the act. Such agreements, while executory in their character, might be incapable of enforcement, but when the contract has been executed and the work and material actually provided, one of the parties thus receiving the benefit of the labor and materials of the other, the mere fact that it is illegal for one of the parties to do the work that he did. and for which a penalty is imposed by the statute making it illegal, is not a defense to an action to recover for the value of the work and materials furnished under such a contract. For the- reasons here stated, I concur in the reversal of the judgment.

Judgment reversed and new trial ordered before another referee,with costs to appellants to abide event.  