
    
      H. W. MOORE v. THE CAPE FEAR & YADKIN VALLEY RAILWAY COMPANY AND THE NORTH STATE IMPROVEMENT COMPANY et als.
    
      Laborer’s Lien — Construction of Railroad — Assignment of Claims' — •Enfor cement.
    
    1. A laborer wlio seeks to subject a railroad company to the payment of wages due him by a contractor in the construction of such company’s road, as provided in section 1942 of The Code, must show a substantial compliance with the requirements of such section as to notice, etc.
    2. After complying with the requirements of section 1942 of The Code, a laborer can assign his claim as a debt either against his employer or the railroad company dealing with him under a direct agreement or as subcontractor, and the assignee can sue upon such claim and other similar ones in one action, and recover the sum total of all such claims due for labor; but where, in an action by the assignee of a number of claims due laborers by the contractors, the complaint and exhibits failed to show affirmatively that each of the laborers not only claimed a specific sum, but had substantially complied with the statute in respect to notice, etc,., previous to the assignment of his account: ITeld, that a demurrer to the complaint was properly sustained.
    3. The privilege conferred by the statute (section 1942 of The Code) is restricted to laborers, and for work done for thirty clays or less in constructing a road, and the company can in no event be held liable for payment of accounts due by the contractors for materials.
    
    4. Where there were intermediate contractors for the construction of a railroad, and the assignee of claims dup by the last of such contractors to laborers brought his action against the railroad company and the first contractor: Held, that, conceding that the plaintiff could in no event recover from any but the railroad company itself, under the statute, yet the addition of the first contractor as a party would not bo a fatal misjoinder.
    Civil action, heard before Whitaker, J., at December Term, 1892, of Sampson Superior Court.
    
      The action was brought by the 'plaintiff as assignee of various claims due laborers, etc., by a firm of contractors to whom the construction of a part of the Cape Fear & Yadkin Yalley Railway Company’s road had been sublet by a subcontractor of the North State Improvement Company, which had the contract for the construction of the whole road. The complaint -alleged that a contract had been made by the Cape Fear & Yadkin Yalley Railway Company with the North State Improvement Company for the construction of the railroad between Fayetteville and Wilmington; that the said Improvement Company contracted with one W. P. Fortune to grade that part of the road lying between Wilmington and Black River, and that Fortune sublet to McDuffie & Gillis the grading of a part of the section covered by his (Fortune’s) contract. The complaint further alleged:
    “ 8. That by and under the said contract of said firm of McDuffie & Gillis a large part of the said grading on said Cape Fear & Yadkin Yalley Railway bed was done, executed and finished by the said firm of McDuffie & Gillis, and was received and accepted by the engineer of the two corporations named in articles 1 and 2 of this complaint, and a large part of said completed work was then paid to said firm of McDuffie & Gillis, and a large sum was retained in the hands of said corporations, to-wit, about three thousand dollars.
    “ 9. That before the said money was due and payable according to the terms of said several contracts herein-before stated, and according to the rules, usages and customs of said corporations in paying for said grading, this plaintiff, and the others whose claims he now holds, served on the said corporations, the Cape Fear & Yadkin Yal-ley Railway Company and the North State Improvement Company, and on AY. P. Fortune, a notice, in writing, which said notice informed them that there was due and owing to this plaintiff and others the sum of twenty-four hundred dollars due for work and labor done and materials furnished in grading said part of the Cape Fear & Yadkin Valley Railway bed, and forbid the payment of the said sum of twenty-four hundred dollars to the said firm of McDuffie & Gillis until such time as this plaintiff and other claims should be fully paid and satisfied.
    “ 10. That .James N. Gillis and John McDuffie are wholly insolvent.
    “11. That the sum of twenty-two hundred and seventy dollars was assigned and transferred to this plaintiff by the laborers who did the grading on said part of said road between Moore’s Creek and Black River, a distance of fourteen miles, and is now and was at the time of said transfer due and owing for labor done and material furnished in grading said road, and the sum of one hundred and thirty dollars is now and was due to this plaintiff' for work and labor done in grading and constructing said part of the Cape Fear & Yadkin Valley Railway.
    “ 12. That defendants are justly indebted to this plaintiff in the sum of twenty-four hundred dollars for work and labor done in grading and constructing the Cape Fear & Yadkin Valley Railway between Moore’s Creek and Black River, a distance of fourteen miles, and no part of the said sum of twenty-four hundred dollars has been paid: wherefore the plaintiff prays for judgment against the defendants for twenty-four hundred dollars, and for the costs of this action.”
    The defendants demurred to the complaint, assigning the following causes of demurrer:
    “1. That the complaint shows upon its face that there was no contract between the plaintiff and either of the defendant corporations, and that there was no agreement of any kind between them, either express or implied.
    
      
      “2. That the complaint shows upon its face that it does not show a cause of action against either of the defendant corporations, but shows only a cause of action, if any exists, only against the firm of McDuffie & Gillis, who were such contractors of one V. P. Fortune.
    “3. Because it appears on the face of the complaint that the Court has no jurisdiction of the action.
    “4. Because the complaint shows upon its face that several causes of action have been improperly joined.
    “ 5. Because the complaintdoes not state facts sufficient to constitute a cause of action, in that while it states the amount claimed to be due by McDuffie & Gillis to the plaintiff as one hundred and thirty dollars, it does not state what claims were assigned to, him, the names of the parties assigning or the amounts due each, so that defendant could deny or answer each claim specifically.
    “6. Because the complaint is multifarious and indefinite.”
    The plaintiff, at a subsequent term, filed an amended complaint and further alleged:
    1. That by virtue of and under the several contracts set forth in paragraphs 4, 5 and 6 of said original complaint, in accordance with said contracts, and under the direction and guidance and instructions of the agents, engineers and officers of said corporations, and of said W. P. Fortune, John McDuffie, James N. Gillis and A. H. Slocumb, this plaintiff, and those who have assigned to him as hereinafter set forth, did and performed work and labor in the grading and building of said Cape Fear & Yadkin Valley Railway, amounting to the sum of twenty-four hundred dollars, which said railway company, nor any other person for them, have ever paid to this plaintiff1, although said railway has and is now using and enjoying the said railway so constructed by plaintiff.
    
      2. That there is now due and owing to plaintiff for said labor and materials furnished as aforesaid from defendants the following amounts (here follows a long list of accounts assigned to plaintiff, most of them small, but one for $180, another for $275 and another for $112).
    3. That all the above amounts have been transferred and assigned to plaintiff, amounting to two thousand four hundred and three T7 dollars, and were due and payable on the 20th day of December, 1889.
    Wherefore plaintiff demands judgment for the said sum of twenty-four hundred and three dollars and interest, and for the costs of this action.
    The defendants, relying upon their former demurrer, demurred to the amended complaint, assigning the following causes:
    1. That the complaint shows upon its face that there is a misjoinder of actions.
    2. That the amended complaint shows that the Court has no jurisdiction of the action, and that the action is not prosecuted in the name of the real party in interest.
    Iiis Honor sustained the demurrer for the causes set out in -the first, second, third, fourth and sixth articles thereof, and dismissed the action as to the railroad and the Improvement Company, and plaintiff appealed.
    
      Messrs. George Rountree and ü. B. Ay cock, for plaintiff (appellant).
    
      Mr. George M. Rose, for defendant.
    
      
      MaoRae, J., did not sit on the hearing of this case.
    
   Avery, J.:

Where a contractor for the construction of any part of a railroad becomes indebted to a laborer for his . services on the work which the former has agreed to perform, the latter may, if he comply with the requirements of the statute (The Code, §1942), subject the railroad com-panv to liability for labor for thirty or “ a loss number of days,” provided, 1st, that such employee give notice to such company within twenty days after the performance of the labor for which the claim is preferred ; 2d, that the notice shall be in writing and shall be served on an engineer, agent or superintendent in charge of the section of the road on which such labor was performed, personally or by leaving the same at his usual place of business; 3d, that said notice shall set forth the time when the labor was performed, the number of (lavs and the amount of the claim. This right to look beyond the contract of employment to an artificial responsibility that may be thrust upon the company, is a creature of the statute, and one who claims the benefit of it must, like a mechanic seeking to enforce a lien under the provisions of The Code, and upon the same principle, show a substantial compliance with the requirements of law. Wray v. Harris, 77 N. C., 77 ; Cook v. Cobb, 101 N. C., 68. The Legislature would not, if it liad authority to do so, arbitrarily subject corporations or individuals to liability for the debts of others, unless where the company or person, by reason of the relation sustained to the primary ' debtor, has the power to guard against incurring loss by withholding a payment due to such debtor. If the claimant complies with the requirement that notice shall bo served within twenty days after the performance of the work and embodies in it the specific information mentioned above, the company can ordinarily ascertain the precise amount of its liability for as well as to contractors, or approximate it so closely as to be able to retain a sufficient sum on settlement for its own protection. It should appear affirmatively from the complaint and exhibits, not simply that each of the laborers who assigned to the plaintiff claimed a specified sum from the company, but that every such assignor had complied substantially with the statute in giving the prescribed notice previous to the assignment of his account. Cook v. Cobb, supra. After subjecting the contracting corporation to liability by such compliance, each laborer can assign his claim as a debt, either against his employer or the company dealing with him under a direct agreement or as subcontractor, and the assignee could unquestionably sue upon the aggregate amount so transferred to him by various claimants and recover the sum total of all such claims due for such labor, and as to which the requisite notice should be shown to have been given.

The description of the claims assigned is contained in section 2 of the amended complaint, and is as follows: “That there is now due and owing for said labor and materials furnished as aforesaid from defendants the following amounts: To Ii. W. Moore, $130; to J. G. Thomas, $275; to W. Wills, $2.67, aggregating (including all the amounts set out as due to the various parties) $2,403.07. The privilege of subjecting the contracting company to liability is conferred by the statute only upon laborers and on account of work for thirty days or less in constructing a road. The plaintiff sues as assignee, of more than one hundred and forty persons, whose accounts, in section 1 of the amended complaint, are declared upon as for work and labor done in grading and building the railroad, while in the very next paragraph the specific amounts, without distinguishing one from another, are alleged to be due for “ labor and materials furnished.” If the plaintiff had alleged that the notice, prescribed by the statute had been served, as required, by each claimant for work done, it would have been sufficient. It seems probable, at least, that the larger accounts, amounting to from $100 to $200, were not due for labor for thirty days or less, but for materials, and, if so, the company could in no event be held responsible for their payment.

AVe concur with the Court below in the view that the facts set forth in the complaint show no cause of action against any person or corporation other than the firm of McDuffie & Gillis.

If it be conceded that the plaintiff could not in any event recover against any interme.diate contractors, but only against the railroad company, and-upon proof of compliance by his assignors with the statute, the addition of the Improvement Company as a defendant would not be a fatal misjoinder.

For the reasons given the judgment is

Affirmed.  