delivered the opinion of the court.
It is asserted by defendant that plaintiff did not by his reply deny the allegations of its affirmative defense in bar. Before the case was called for trial defendant moved for a judgment on the pleadings upon the ground, inter alia, that its answer stated facts showing a complete defense and all matters set forth in the complaint, and that such facts were not denied in the reply. The court overruled this motion.
1. It will be seen that defendant pleaded contributory negligence, and also assumption of risk. While the reply thereto was not a model pleading, we think it was sufficient when we consider the general denial of any negligence on the part of plaintiff, and that it plainly appears that it was the intention of the plaintiff to deny every allegation.
2. However we may consider the matter, contributory negligence, under the Employers’ Liability Act (Laws 1911, p. 16), is not a defense, but may be taken into account by the jury in fixing the damages. Consequently defendant was not entitled to a judgment on account of the defective reply, as this plea in bar did not state a defense to plaintiff’s complaint.
3. As to the plea of assumption of risk, it is now well settled that such a plea is not available as a defense in an action coming within the provisions of the Employers’ Liability Act.
4. Therefore, although the reply was bad, there was no error in refusing to allow the motion for judgment on the pleadings. A denial of an immaterial allegation raises no issue: Graham v. Coos Bay R. & N. Co., 71 Or. 393 (139 Pac. 337, 340).
The motion to quash and the plea in abatement of defendant presented the same question; namely, the *416right to sue a foreign corporation in any other county than the one in which the cause of action arose or the one in which it has its office and principal place of business, when the resident agent resides in the same county as such office is located.
5. An action for damages resulting from personal injuries is transitory, and not a local action: Shmit v. Day, 27 Or. 110 (39 Pac. 870).' Prior to the enactment of 1903 providing for the appointment by a foreign corporation of an attorney in fact, there was no express statutory regulation of the manner of service of the summons upon a foreign corporation, except by publication thereof according to the provisions of Section 56, L. O. L.
6, 7. The act of 1903 (Section 6726, L. O. L.) provides, among other things, that every foreign corporation, before transacting business within this state, shall execute and acknowledge a power of attorney, and cause the same to be recorded in the office of the Secretary of State, appointing some person who is a citizen of the United States and a citizen and resident of this state as its attorney in fact, which shall authorize and empower such attorney—
“to accept service of all writs, process, and summons, requisite or necessary to give complete jurisdiction of any such corporation, joint-stock company, or association to any of the courts of this state or United States courts therein, and shall be deemed to constitute such attorney the authorized agent of such corporation, joint-stock company, or association, upon whom lawful and valid service may be made of all writs, process and summons in any action, suit, or proceeding, commenced by or against any such corporation, joint-stock company, or association, in any court mentioned in this section, and necessary to give such court complete jurisdiction thereof.”
*417The question raised by the learned counsel for defendant has not been passed upon by this court. The nearest approach to the same was in the case of Cunningham v. Klamath Lake R. Co., 54 Or. 13 (101 Pac. 213, 1099), in which, however, the conditions were different from those in the case at bar. The general rule which we think is applicable is stated in Beale on Foreign Corporations, Section 295, as follows:
“Where an agent has been designated to receive service of process, that agent may be served anywhere in the state without reference to the county in which the venue is laid. If by statute a foreign corporation is liable to suit in the county in which it does business, it can be sued in no other; though, if there is no such statute, a 'foreign corporation, not being a resident, may be sued in any county.”
In Thomas v. Placerville etc. Co., 65 Cal. 600 (4 Pac. 641), it was held that a foreign corporation doing business in the State of California had no residence within the state, and an action against it might be tried in any county designated by the plaintiff in his complaint. Private corporations are residents of the states in which they are created. They are permitted to carry on business in other states, although by both the state and federal courts they are treated as residents of the states in which they are created and nonresidents of other states: Cunningham v. Klamath Lake R. Co., 54 Or. 13 (101 Pac. 213, 1099); Boyer v. N. P. R. Co., 8 Idaho, 74 (66 Pac. 826, 70 L. R. A. 691). In the latter case Mr. Chief Justice Quarles, after stating the Idaho statute, which is somewhat' similar to our own, concludes by saying:
“In the absence of any statutory provision fixing the place of trial in actions against foreign corporations in any particular county, we see no reason why *418such actions should not be brought and maintained in any county in this state. This, we think, is the policy and theory of our Code.”
The provisions for service contained in the act of 1903 are of mutual benefit to a foreign corporation and to litigants of the State of Oregon. Doubtless statutory service made upon a duly constituted agent would be more satisfactory than service by publication. The several provisions contained in the act apply to foreign corporations. The residence of such corporations is not changed, and they still have no legal residence within this state. It is argued with considerable force by counsel for defendant that defendant, doing business in a county in the western part of the state where the cause of action arose, should not be inconvenienced by an action in the extreme eastern part of the state. The convenience of the parties to any litigation is provided for by Section 45, subdivision 4, of L. O. L. That section provides that the court or judge thereof may change the place of trial, on the motion of either party to the action, when it appears by affidavit — subdivision 4 — “that the convenience of witnesses and the parties would be promoted by such change.” An action against a foreign corporation should be commenced in some county where the convenience of the parties to the litigation would be best served; and if for any reason such action is begun where the parties and their witnesses would be discommoded, Section 45, L. O. L., should be invoked. The act of 1903 requiring the appointment of an attorney in fact upon whom process may be served in order that a court of this state may obtain jurisdiction of a foreign corporation changed the method which had prevailed prior thereto, when there was no statute upon the subject: Gunning-*419ham v. Klamath Lake R. Co., 54 Or. 13 (101 Pac. 213, 1099), in which the former cases were distinguished.
Where a state makes conditions upon which foreign corporations may do business therein and provides a method whereby the courts of the state may acquire jurisdiction over them by service of process upon designated agents within the state, a foreign corporation subsequently doing business in the state is deemed to consent to the conditions and to be bound by the service of process in the manner specified by the state: Gibbs v. Insurance Co., 63 N. Y. 114 (20 Am. Rep. 513); McNichol v. Mercantile Agency, 74 Mo. 457; National Bank of Commerce v. Huntington, 129 Mass. 444; Milling Co. v. Pennsylvania, 125 U. S. 181 (31 L. Ed. 650, 8 Sup. Ct. Rep. 737).
According to the provisions of the enactment of 1903 contained in Section 6726, L. O. L., in a transitory action, complete jurisdiction of a foreign corporation may be obtained by the Circuit Court for any county where an action against such corporation is commenced by service of the summons and complaint upon the resident agent appointed by the corporation, pursuant to this statute, regardless of the residence of such agent or the location of the principal office or place of business of the defendant, no matter where the cause of action arose. The language of the act quoted in part above is too broad and comprehensive to permit of any other construction, when viewed in the light of the then existing conditions and the former rulings of the courts. The appointment of such an attorney in fact is made for the whole state. The place of trial is not regulated by the residence of the agent. In case of the failure of a foreign corporation or association mentioned in the act to maintain within the state such attorney in fact the statute further provides *420for valid service of process upon the Secretary of State. We conclude the Circuit Court of Multnomah County had complete jurisdiction of the defendant in this action.
8. Before any evidence was offered in the court below the defendant filed a written motion requesting the court to require the plaintiff to select which cause of action he expected to rely upon for recovery. At the close of the evidence in chief the court directed the plaintiff to make such selection. The plaintiff had one right of recovery. The defendant complains that the complaint asserts the cause of action in four ways. The main differences between plaintiff’s so-called causes of action were in regard to the machinery, whether it was in motion at the time plaintiff proceeded to do the work, or whether it was started after he commenced the same, and respecting the protection or covering of the cogwheels. The initiatory pleading is not in accordance with the spirit of our Code. In drawing the complaint the pleader seems to have been in doubt as to how the evidence would develop the matter. This would naturally be explained when the story was told in a simple way on the witness-stand, and, as the trial court at the close of plaintiff’s evidence directed him to elect upon which description of the matter or cause of action he would rely, we fail to see how the defendant was prejudiced. We discern no conflict with the rule in Harvey v. Southern Pacific Co., 46 Or. 505 (80 Pac. 1061).
9. The plaintiff called as a witness in his behalf one Frederick Claude De Guare, who testified that he was a mechanical and electrical engineer; that on Saturday, July 26, 1913, he visited the sawmill of the defendant in Clatsop County, Oregon, at the place where it was claimed the plaintiff met with the accident, and *421examined the sorting-table where it was claimed plaintiff was injured; that he observed the manner in which it was operated, accurately measured it, and took the measurement of the cogwheels, shafts and pulleys thereof in the section which controlled the operation of such machinery. Thereupon he was asked the following question:
“Now, Mr. De Guare, did you measure the dimensions of these various wheels, the diameters, and did you also the speed of the revolutions of this pinion, * * when you were there?'
“A. Yes; I measured that speed in so far as it was possible to measure it under those conditions. ’ ’
Over the objection and exception of defendant’s counsel to the question, “And what was the speed, as you measured it?” the witness answered:
“This pinion [indicating] ran approximately at a speed of 300 revolutions a minute. This shaft [marking the other gear] runs slower.”
Defendant assigns the admission of this evidence as error. It would seem that the witness observed the ordinary operation of the machinery. The indications were that the operation was approximately the same as when the machinery had been run before. A diagram of the sorting-table and the machinery showing the cogwheels was introduced in evidence. Plaintiff testified that the drawing accurately represented the exact condition of the machinery under the sorting table at the time he was hurt. This testimony objected to appears to have been some evidence for the guidance of the jury in determining as to the danger in working about the machine. There was but little doubt but that the work involved a risk or danger. There was no error in admitting the evidence.
*42210. The witness De Guare identified the drawing of the sorting-table made by him. He stated that he was 25 years old, a mechanical engineer of 8 years’ experience, and had worked in similar places and in machine-shops. Over the objection and exception of defendant’s counsel the witness was then permitted to testify that from his experience and knowledge of machinery he regarded that point under the sorting-table where the chains and cogs moved dangerous. Upon this error is predicated. This was not practically a controverted question. It was not the position of defendant that the place where plaintiff was injured was void of danger, but that the plaintiff went to work there in disregard of his duties, plainly implying that in so doing there was a hazard. It is a matter of common knowledge that if one’s limb comes in contact with such cogwheels when in motion it will be hurt. We see no reason why expert evidence would aid the jury in this matter. We believe the only effect such testimony could have had was to convince the jury that counsel for plaintiff had but little confidence in their ordinary intelligence, and that the evidence did not influence the result. It was admitted with an instruction to the jury that such testimony was for the purpose of aiding them, but was not to be substituted for their judgment. The court charged the jury upon this point as follows:
“The laws of this state require that all dangerous machinery shall be securely covered and protected to the fullest extent that the proper operation of such machinery permits. It will therefore be your duty to determine, first, whether or not the gearing in which plaintiff claims he was injured, accordingly as it was located, was dangerous, within the meaning of the laws of this state. The law, although it requires in positive terms that all dangerous machinery must be fully covered and protected to its fullest extent, fails not only *423to say what machinery is dangerous or what character of protection is necessary in order to fulfill the requirement to the fullest extent, etc. These matters are left to the courts and juries to determine under the well-recognized general rules of law pertaining to this subject. The question as to whether or not this gearing, as it was situated, in reference to its surroundings, was or was not dangerous within the meaning of the law, is a question of fact for you to determine, the same as any other fact in this case. The defendant in this case was bound to cover and protect only such machinery as a reasonably careful and prudent man, with full knowledge of the situation before an accident occurred, and one who would himself be liable for damage in case of error in that regard, would consider dangerous. A machine might be a dangerous machine in one location and not dangerous at all in another location, or dangerous under certain surroundings, and not dangerous in others; and what would be a covering and protection in one case would not be sufficient in another, and, if remotely situated, it might not be required to be covered at all. Therefore, it is for you to determine from the evidence in this case whether or not a reasonably careful and prudent man, with full knowledge of the situation before the accident occurred, would have considered this a dangerous machine, or dangerous to the defendant’s employees. .* * Now, if you find it was dangerous, you must then determine whether it was securely covered and protected to the fullest extent that its proper operation permitted. Even if it were dangerous, yet if it were securely covered and protected to the fullest extent that its proper operation permitted, that is, to the extent that an ordinary careful, prudent, and experienced-man, with full knowledge of the situation, and who himself would be liable in damage in case of error, would have considered it before the accident, and the plaintiff met with the injury complained of without any fault or negligence on the part of defendant, then the plaintiff, of course, cannot recover in this action.”
*424We decide that under the circumstances the admission of this evidence was not reversible error.
11. Several of defendant’s assignments of error relate to evidence pertaining to the earning capacity of plaintiff. Paragraph 7 of the second cause of action in the complaint alleges:
“That at the time of said injuries he [plaintiff] was capable of earning by manual labor $2 per day, and as a stenographer $50 per month; that he was a student of electrical engineering, having been matriculated as a student in the University of Washington at Seattle, Washington; and that upon the completion of his professional studies he would have been capable of earning from $3,000 to $10,000 per year.”
The evidence of plaintiff and witness De Guare tended to show that plaintiff was a Hindu, 21 years of age, earning $2 per day, as a common laborer, with an expectancy of 41.53 years. Over the objection and exception of defendant, evidence was admitted tending to show the salary of a mechanical engineer to be $3,000 per year and over. It appears to have been given for the purpose of showing the general ability of plaintiff. At defendant’s request the court instructed the jury that, if they found for plaintiff, in determining the amount of damages, “you have no right to take into consideration anything that the plaintiff might or could earn as an electrical engineer or what his earnings might be should he have educated himself as such. This is too remote and speculative, and is not an element of damage that you, as. jurors, have any right to take into consideration. ’ ’
The question of earning capacity is a difficult one. If plaintiff had made such advancement in his duties as to indicate that he was not dull or lazy, but capable of learning and energetic, it might have some bearing *425upon the amount he would probably earn in his chosen calling. There is also a chance that a man may lose his position if he has one, and that he may obtain employment if he is out of it. We see no harm in informing the jury how much “pep” the plaintiff had. The fact that the plaintiff when injured was working as a common laborer at $2 per day would not prevent him from pleading and proving that he was skilled in another trade and capable of earning more: Brown v. Oregon W. R. & N. Co., 63 Or. 409 (128 Pac. 38); 13 Cyc. 143, note; Chicago etc. Ry. Co. v. Long, 26 Tex. Civ. App. 601 (65 S. W. 882); Missouri etc. Ry. Co. v. St. Clair, 21 Tex. Civ. App. 345 (51 S. W. 666). Under the allegations and circumstances the trial court could not be expected to weigh and segregate all the evidence before it was given. Under the charge to the jury, which was at the time commended by the learned and experienced counsel for the defendant as the best he had ever heard, and in view of the amount of the verdict, it does not appear that the rights of defendant were prejudiced by the temporary admission of the evidence of which complaint is made.
12. Exception was taken to the testimony of plaintiff detailing a conversation between him and Mr. Penny, the defendant’s foreman, at the time of the injury. After referring to the genealogy of each, the material part was as follows:
“I asked him, ‘Why did you give me a job like this?’ And he said, ‘I thought it was easy for you.’ * * I told him that I had meant to ask for a change of job,' and he asked me what would I do with it, and he told me that if I didn’t like this job he would check my time and I could go out.”
There was a conflict in the evidence as to whether plaintiff was directed to work where he did at the time *426of the injury. Penny was not an ordinary or general agent of the defendant company, but was the only man connected with the company who had authority over plaintiff. He was the sole authorized agent for the purpose of doing the particular acts or transactions which are alleged to have been the negligence of which complaint is made. The matter appears to have been within the knowledge and scope of his authority. The statement was made during the continuance of the agency and in regard to a transaction still pending. In the language of the foreman it will be noticed that he spoke in the present tense. The evidence was competent as tending to show where the plaintiff was required to work.
It is enacted by Section 2 of the Employers’ Liability Act that:
“The manager, superintendent, foreman or other person in charge or control of the construction or works or operation, or any part thereof, shall be held to be the agent of the employer in all suits for damages for death or injury suffered by an employee.”
See Northern Pac. Lumber Co. v. Willamette Mill Co., 29 Or. 221 (44 Pac. 286); Jones, Evidence, §§ 356, 356b, 357; Labatt, Master & Servant, § 2544.
In regard to this matter Penny himself testified that he did not tell the plaintiff not to go under the table. at any time.
13. After the plaintiff had rested his case the defendant called as a witness on its behalf O. H. Gramm, deputy labor commissioner and factory inspector of Oregon, who identified a certificate issued by the state labor commissioner certifying that, in his judgment, the sawmill, planing-mill, and lath-mill where the plaintiff claimed he was injured was properly equipped, and that the machinery and appliances *427therein were suitably covered and protected as provided by law. The certificate was dated October 16, 1911. The witness testified that he had inspected the mill on October 11, 1912. On cross-examination counsel for plaintiff asked this witness the following questions-:
“Q. For what purpose did you inspect that mill on October 11, 1912?
“A. On October 11, 1912, I inspected it to see that it complied with the inspection law, and to see that it was in condition so that those certificates could be renewed on the 16th of October.”
Over the objection and exception of counsel for defendant to the question, “Did you find that mill in such condition that you could pass it for renewal?” the witness answered, “No.”
The certificate of the labor commissioner was prima facie evidence only of the condition of the mill on October 16, 1911. It was not a finality in this respect: Section 5046, L. O. L. It was proper cross-examination for plaintiff to counteract this evidence if he could by showing whether or not the same conditions existed on October 11, 1912, four days before the accident. The question was general in its nature, and so was the evidence contained in the certificate identified and explained by this witness. Upon redirect examination the defendant would have been entitled to have shown that the conditions referred to by the officer related to other machinery than that in question in this case. There was no error in this ruling.
14. Defendant requested the Circuit Court to charge the jury that:
“The negligence of the defendant cannot be presumed from the happening of this accident to the plaintiff; but, in addition to proving the accident, the plaintiff *428must also establish by a preponderance of the testimony that such accident was caused by the sole negligence of the defendant and without fault or negligence on the part of the plaintiff; otherwise the plaintiff cannot recover at all.”
The court modified this by the following instruction:
“If this was solely the plaintiff’s fault, not his contributing fault, but his sole fault, there can be no recovery by him.”
Defendant saved an exception to the modification. The instruction, as requested, would have precluded plaintiff from recovery if he negligently contributed to the injury. Therefore the modification was necessary and proper in order to conform the same to the Employers’ Liability Act, under which contributory negligence does not preclude recovery in such an action. Taken in connection with the other instructions, the charge complained of correctly informed the jury as to the law.
The ease was fairly tried, and the verdict is supported by the evidence.
We find no reversible error in the record, and the judgment is affirmed.
Affirmed. Rehearing Denied.
Mb.. Chief Justice Moore, Mr. Justice Eakin and Mr. Justice Harris concur.