This is an action to recover damages occasioned to a railroad employee through the carelessness of a fellow servant in allowing a feed grinder to fall upon him and while unloading freight from a railroad car at about 8 o’clock at night, and in order that it might proceed on its journey the next morning, and which car was standing on the main track of the railroad, the engine having left and gone to a station some 10 miles distant in order to get water. A verdict was rendered for the plaintiff, and from the judgment entered thereon the defendant appeals.
The only point argued by counsel for appellant on this appeal is *422that the evidence conclusively shows that the plaintiff was injured through the negligence of his fellow servant, Vandervoight, and that § 4804 of the Compiled Laws of 1913, which takes this defense away from railway companies, is not applicable to the case at bar. The statute in question provides that “every common carrier shall be liable to any of its employees, or in case of the death of an employee, to his personal representative, for the benefit of his widow, children or next of kin, for all damages which may result from the negligence of any of its officers, agents or employees, or by reason of any defect or insufficiency due to its negligence in its cars, engines, appliances, machinery, track, roadbed, ways or works.” This act was passed in Í907, and is § 1 of chapter 203 of the Laws of that year.
Counsel’s chief reliance is placed upon the language which is used in case of Beleal v. Northern P. R. Co. 15 N. D. 318, 108 N. W. 33, 20 Am. Neg. Rep. 453, and the cases collected in the note thereto in 11 Ann. Oas. 924, and in which case this court held that the act did not apply to or protect a laborer who was engaged in cutting ice from the Cheyenne river and loading it into cars for the use of the company, the ice being conveyed by means of a chute to the cars and from a platform ' which was constructed on the bank of the river. Counsel for appellant argues that under the decision above quoted a railway company is only liable and the act only applies where the employee is engaged in operating the railway and is exposed to the peculiar dangers attending that business. Lie maintains that the employment of the plaintiff was not of that nature or class, and that under the decision above quoted, the extra-hazardous situation which is incident to such operation is necessary to save the statute from the taint of class legislation. His whole brief and argument indeed is centered around the following quotation from the Beleal Case, and wherein this court said that “there can be no doubt that the business of running trains, keeping the tracks in repair, and other similar work connected with the use and operation of railroads — that class of work which may be called railroad work proper ■ — is of a peculiarly hazardous nature, and for that reason may he properly placed in a class by itself to that extent, for the purpose of imposing on the master a greater liability to the employees so engaged, and giving the latter greater rights against the master in case of injury, than in other occupations; . „ . such a classification is proper be*423cause the peculiar nature of the work furnishes a proper basis therefor. The statute in question, however, taken literally, as respondent would have us do, purports to put railroad corporations in a class by themselves, simply because they are such corporations, and imposes upon them a liability from which other corporations under like circumstances are exempt, and extends to employees of a railroad, regardless of the nature of their work, certain rights which other laborers engaged in the same kind of work do not enjoy. Take this case as an illustration. There are many other companies besides railroad companies which lay up ice in large quantities for use in their business. If an ice company or a meat packing concern had had this force of men at' work at the same time and place, and with the same apparatus, and the injury had been inflicted under the same circumstances, the master would not have been liable for the negligence of the plaintiff’s fellow servant. The liability of the ice company or the packing house as a master would be less than that of the railroad company, and the employee of the latter would have more means of redress for his injury than the employee of some other kind of corporation. There is absolutely no difference in the nature of the work, or in the relative situation or condition of the master and the employee, between a railroad company and any other •company gathering ice for its use.”
The writer of this opinion, speaking for himself alone, entertains one doubt as to the correctness of the criterion of class legislation which is announced in the quotation above referred to.
But be this as it may, the Beleal Case and the case at bar are by no means parallel in their facts, but, on the other hand, involve totally different relations.
It is conceded in the Beleal Case “that the business of running trains, keeping the tracks in repair, and other similar work connected with the use and operation of railroads, — that class of work which may be called railroad luork proper, — is of a peculiarly hazardous nature, and for that reason may be properly placed in a class by itself,” and can we say that the unloading of freight trains which are standing upon the main tracks of a railroad, and even though an engine is not attached thereto, is not work of this class and is not “railroad work proper?” "We certainly cannot so hold, and we have authority for refusing so to do.
*424“In tbe operation of a railroad,” says tbe Missouri court of appeals, “it is as necessary to load and unload freight cars as it is to hitch an engine to them and haul them back and forth over the road, and the work is as directly connected with the operation of the road as is any other service a railroad company is required by law to perform.” Orendorff v. Terminal R. Asso. 116 Mo. App. 348, 92 S. VY. 148.
Being then “railroad work proper,” there is absolutely no support in reason on in the authorities for the. contention that the provisions of the state and Federal Constitutions which guarantee the equal protection and uniform operation of the law and freedom from the deprivation of property or liberty without due process of law are in any way impinged by the verdict and judgment in the case at bar, and it is these provisions only which can in any way be involved.
Though, indeed, we often find the term class legislation carelessly used, and to such an extent that one would almost come to believe that practically no protective legislation can be upheld, the term is nowhere to be found in our Constitutions, and as a matter of fact class legislation is not forbidden. All, indeed, that is required is that there shall be a reasonable public necessity for the law or statute, and that it shall apply generally to all who are equally affected. “It would practically defeat legislation if it was laid down as a rule that a statute must necessarily be adjudged invalid if it did not bring all within its scope or subject all to the same burdens.” Cotting v. Kansas City Stock Yards Co. 183 U. S. Ill, 46 L. ed. 109, 22 Sup. Ct. Rep. 43; State v. Olson, 26 N. D. 304, L.R.A. — , —, 144 N. W. 661.
The time test of unlawful statutory discrimination is merely whether all who are similarly situated are similarly treated or affected, or, to put it another way and in the language of the business world, whether one is really hindered in his competition with others. There is no competition between the railroad company and the manufacturer, or ordinary business man. Except in rare instances indeed a railroad’s only competition is with other railroads, and if the expenses of all are equally increased by the liability, and all have the right to charge a reasonable rate which shall be based upon the expense of operation, why should any be heard to complain ?
The statute in question “meets a particular necessity and all railroad corporations are, without distinction, made subject to the same lia*425bilities. . . . It is simply a question of legislative discretion whether the same liabilities shall be applied to carriers by canal and stagecoaches and to persons and corporations using steam in manufacturies.”' See Missouri P. R. Co. v. Mackey, 127 U. S. 205, 32 L. ed. 107, 8 Sup. Ct. Rep. 1161; Georgia R. Co. v. Ivey, 73 Ga. 499, 504.
The work then belonging to the extra-hazardous class, proof was not necessary that there was an extra hazard in this particular case. The-theory of the coemployee exception is that the employee may protect himself against danger. Surely in the same line of employment and in the same line of work he is not required to constantly discriminate and to say to his master, “I refuse to work with this man in unloading-binders, but I am willing to work with him in unloading apples. I refuse to work with him at night, but I am willing to work with him in the daytime. I refuse to work with him on a live train, but I am willing to work with him on one which is on a side track.” The law can be carried to no such absurd conclusions.
Similar statutes indeed have,been upheld when applied to one injured while trucking freight from a warehouse to a freight car, Orendorff v. Terminal R. Asso. 111 Mo. App. 348, 92 S. W. 148; while elevating baggage by means of an elevator from one floor to another in a railway station, Turner v. Terminal R. Asso. 132 Mo. App. 38, 111 S. W. 841; as to brakemen coupling cars, Minneapolis & St. L. R. Co. 127 U. S. 210, 32 L. ed. 109, 18 Sup. Ct. Rep. 1176; as to a mechanic injured by a steam hammer in the repair shops, Swoboda v. Union P. R. Co. 87 Neb. 200, 138 Am. St. Rep. 483, 127 N. W. 215; as to a person employed upon a construction train to carry water for the men and to gather up tools and put them in the caboose or tool car, Missouri P. R. Co. v. Haley, 25 Kan. 35; as to a section man employed by a railway company to repair its roadbed and take up old rails and put in new ones, Union P. R. Co. v. Harris, 33 Kan. 416, 6 Pac. 571; as to a person injured while loading rails on a car to be taken to other portions of the company’s road, Atchison, T. & S. F. R. Co. v. Koehler, 37 Kan. 463, 15 Pac. 567.
Not only is this the holding of the majority of the state courts, but of the Supreme Court of the United States also. In the case of Chicago, K. & W. R. Co. v. Pontius, 157 U. S. 209, 39 L. ed. 675, 15 Sup. Ct. Rep. 585, that great court is clear and outspoken upon the subject, *426.and sustains the validity of a similar statute when applied to a bridge •carpenter who was injured while engaged in loading timbers onto a car for transportation upon the railroad, the court saying that “the mere fact that the plaintiff’s regular employment was a bridge carpenter does not affect the case, nor does it matter that the road was newly constructed, nor whether it was in regular operation or not. The injury happened to the plaintiff while he was engaged in labor directly connected with the operation of the road, and the statute applies.”
It is not necessary for us to enter into a discussion of the general question as to whether the statute of North Dakota would be constitutional if construed according to its natural import and to cover all •of the servants of a railway company no matter in what particular kind of employment or branch of the service they happened to be engaged.
It is enough to say that all of the authorities axe agreed that such statutes are constitutional if construed to apply only to those employments which are strictly related to the operation of the trains of a railway company, and can fairly be said to be within the class of extra hazardous.
There can be no question that the unloading of the cars of the trains which are standing on the main track of a railway, and while such cars are in a live train or in a train from which the engine has been cut off to take water, and in order that that car may be sent out in the same or in another train a few hours later, is work which is both connected with the operation of the railroad and usually hazardous in its nature.
Provided that the work done is thus connected with the physical operation-of the road and is dangerous in its nature, we know of no ■courts which split hairs over the precise degree of danger involved, and there is no necessity that they should.
Here we have a quasi public corporation whose rates may be regulated by statute, but which is entitled to charge reasonable rates, and rates which will not merely meet expenses, but assure a reasonable return. Here we have a corporation which is granted the extraordinary powers and privileges of eminent domain. State v. Peel Splint Coal Co. 36 W. Va. 802, 17 L.R.A. 385, 15 S. E. 1000; Knoxville Iron Co. v. Harbison, 183 U. S. 13, 46 L. ed. 55, 22 Sup. Ct. Rep. 1.
Here we have an employment where, as a general rule, the reason for the fellow-servant rule does not apply, the reason for the rule, as laid *427•down in the original butcher’s employee case of Priestly v. Fowler, 3 Mees. & W. 1, Murph. & Pl. 305, 7 L. J. Exch. N. S. 42, 1 Pur. 987, 19 Eng. Pul. Gas. 102, being that each servant has, through association, the opportunity to get acquainted with the characteristics of his co-•employees, and that in such a case he can well enjoin care on the part of those servants, and that, such being the case, the instinct of self-preservation will not only afford the best safeguard against injury and loss of life, but the exercise of that instinct should, on the grounds of public policy, be insisted upon by the courts.
It is a matter of common knowledge indeed that the railroad employee cannot, as a rule, choose or grow acquainted with his associates, and that men gathered from all parts of an immense system are momentarily thrown together, and that, as the trains come and go, trainmen are exposed to 'the risk of the negligence of laborers and section men, engineers, conductors, and other employees whom they have never seen and over whose conduct they can exercise no control whatever.
So, too, as is pointed out by the supreme court of Wisconsin in the ■case of Kiley v. Chicago, M. & St. P. R. Co. 138 Wis. 215, 119 N. W. 309, 120 N. W. 756, 21 Am. Neg. Pep. 394; the policy that a railroad company shall be held liable to a higher degree of care, and which has resulted in the abrogation of the fellow-servant rule as far as it is concerned, is based not merely upon a regard for the safety of its employees, but of the public as well, the safety of that public being dependent upon a thoroughly competent and efficient operating class. On account of these risks and the public nature of their calling, railroads are placed within a particular class, Missouri P. R. Co. v. Mackey, 127 U. S. 205, 32 L. ed. 107, 8 Sup. Ct. Pep. 1161; Chicago, K. & W. R. Co. v. Pontius, 157 U. S. 209, 39 L. ed. 675, 15 Sup. Ct. Pep. 585.
The judgment of the District Court is affirmed.