This is an action to recover damages for the death of William A. Brown. The suit was brought by Mary E. Brown, the surviving wife of the deceased, in her own behalf, and also as guardian ad litem in behalf of the minor children of herself and deceased. The Northern Pacific Railway Company, Edward Bosworth and Alex. Walker were made parties defendant. Brown met his death in a railway collision on the Northern Pacific line, and Bosworth and Walker were respectively the conductor and engineer of *4the train with which Brown’s train collided. The complaint charges negligence against all of the defendants. The answers put in issue the essential allegations of the complaint, and interposed the defense of contributory negligence. At the trial certain amendments to the answers were permitted, which need not be explained at this time. The cause came on for trial before a jury and, at the close of the testimony submitted by the plaintiff, the defendants challenged the sufficiency of the evidence to sustain a verdict for the plaintiff, and moved that the cause be withdrawn from the jury and judgment entered in favor of the defendants. The motions were granted on the ground that the evidence conclusively showed contributory negligence on the part of the deceased. Judgment was accordingly entered, and the plaintiff has appealed.
The principal question involved is that of contributory negligence, and it is assigned that the court erred in sustaining the challenge to appellant’s evidence, and in talcing the case from the jury. The evidence discloses the following facts: At the time of the accident, the deceased was the head engineer in charge of an extra freight train, known as “No. Extra 68.” The train was being drawn by a small standard engine in charge of deceased, and also by a large consolidated engine immediately behind the small one, which was in charge of another engineer. The deceased had charge of the air, and was in sole control of the train. This train had proceeded from Hope, Idaho, to Trout Creek, Montana, where the accident occurred. At Hope the deceased’s train was passed by regular freight train No. 54, which was going in the same direction, and which proceeded to Trout Creek under orders, where it arrived at % a. m. At Trout Creek the crew of No. 54 were under orders to make more track room in the yards, by moving cars from one track to another, and they were so engaged when the collision occurred. Some ten or fifteen minutes after No. 54 left Hope, the deceased’s train followed it to Trout Creek, and it was while this train *5was running through the yards at the latter place at 2:30 a. m. that the accident occurred. The engine of No. 54< was at the time engaged in drawing cars from a sidetrack out upon the main line, preparatory to replacing them upon sidetracks so as to make more yard room. The head of the engine was toward the cars that were moving, and the engine was drawing the cars after it as it moved backward with its rear or tender toward the west, from which direction the deceased’s train came. As the latter train approached from the west, its head engine in charge of the deceased struck the tender of the engine engaged in switching, and as a result of the collision the deceased lost Ins life.
Trout Creek was a terminal on the railway line, so called because it was the end of a division of the road, and extensive yards and sidetrack? were there provided for terminal purposes. The deceased had been on this run for some time, and was therefore aware that the train was approaching, and running through, terminal yards. As an engineer he was required to be conversant with the rules of the railway under which all engineers and trainmen operated. One of these rules provides that all trains must approach and pass through yards under full control. According to the testimony of plaintiff’s witnesses, “under full control” means that the train must be regulated at such speed as will enable, the engineer to stop it within his vision, no matter how short a space that may be. One witness expressed the meaning of the rule as follows: “If I can stop in going twenty miles an hour in plenty of time, or be able to stop in ten feet if I had to.” It was also testified that the engineers of extra trains are, at any time of day or night, charged with knowledge that there is liable to be an obstruction upon the main line within terminal yards, and that when an engineer is approaching any place where he thinks, or has reason to know, that there may be an obstruction on the main line, it is his duty to ai’range his speed in accordance with the distance of his vision.
Fairly stated, the evidence shows the speed of deceased’s *6train at the time of the accident to have been at least eight miles an hour, and the distance of unobstructed view before reaching the scene of the accident about seven hundred feet. The time was 2:30 a. m. on the 13th of June, and the location was an elevated one in the mountains. Day was beginning to break, and although it was not yet fully light there was some daylight. There was some testimony that the train on its way had passed through banks of fog, but it does not appear that there was more than a very slight fog in the yards at the time. The location was a mile from the river along which the fogs usually hung, and it was also some distance from the hills around. Witnesses testified that they saw no lights upon the rear of the engine which was struck by the engine in charge of the deceased. The evidence upon that subject was merely negative in its character, as no witness testified positively that there were no such lights. Their observation in that regard was after the collision, which had disarranged the entire rear part of the engine. The collision was of such force that it practically destroyed the engine on which the deceased was Tiding. The brakes and couplings of the train were in good repair and were operating properly at the time. These were under full control of the deceased as the head engineer. The engineer of the second engine had no control of the air brakes, they being placed entirely under control of the head engineer.
Under the evidence submitted by appellant, we see no escape from the conclusion that the deceased violated the established rules as to the speed of his train at the place of the accident; and that the collision would not have occurred but for his neglect. He was familiar with the location and character of the place and, as an engineer, he was bound to know that the main track within these terminal grounds was liable to be obstructed at any time of the day or night. Knowing this, it was his duty to' observe the established rules and to so control the speed of his train as he approached these grounds, and when within their limits, that he could stop it at *7any point within the range of his vision. It is manifest from the evidence that he did not so control it, although it was within his power so to do, and that his failure to do so contributed directly to his injury and death. An employee is bound to obey all of the reasonable rules and instructions of his employer with reference to the conduct of his business.
“Disobedience of such rules, if it contributes directly to the injury of the employee, conclusively charges him with negligence, which will bar any recovery of damages for his injury. Green v. Brainerd & N. M. Ry. Co., 85 Minn. 318, 88 N. W. 974. This rule is based upon the plainest principles of justice and sound public policy, for upon a prompt compliance with such rules, especially in the railway service, depends the safety of not only property, but of human life and limb.” Nordquist v. Great Northern R. Co., 89 Minn. 485, 95 N. W. 322.
See, also, Gordy v. New York etc. R. Co., 75 Md. 297, 23 Atl. 607; Conners v. Burlington etc. R. Co., 74 Iowa 383, 37 N. W. 966; Ford v. Chicago etc. R. Co., 91 Iowa 179, 59 N. W. 5, 24 L. R. A. 657 and note.
Appellant, however, contends that the question of contributory negligence was for the jury. This court has frequently held that it is ordinarily for the jury, but it has also uniformly adhered to the doctrine that when there is no room for difference of opinion in the minds of reasonable men as to the existence of contributory negligence, it is the duty of the court to decide, as a matter of law, that such negligence exists, and to take the case from the jury. We think this is such a case, and that the court did not err in withdrawing the case from the jury within the following .decisions of this court: Johnson v. Anderson etc. Lum. Co., 31 Wash. 554, 72 Pac. 107; Steeples v. Panel etc. Box Co., 33 Wash. 359, 74 Pac. 475; Beltz v. American Mill Co., 37 Wash. 399, 79 Pac. 981.
It is assigned that the court erred in permitting the respondents to amend their answers during the trial so as to interpose the defense of assumption of risk, and also in per*8mitting the respondent railway company to further amend by interposing the defense that the deceased met his death by reason of the act of a fellow servant. The court, however, determined the case solely upon the ground of contributory negligence, which was a defense in the pleadings before the trial began and was therefore regularly before the court at the time appellant’s testimony was submitted. No evidence was submitted under these new defenses, and no question arising therefrom was determined against appellant. Appellant was not prejudiced by the amendments, in view of the fact that the case was determined entirely with reference to another defense, which alone has been considered by this court.
Error is assigned upon the alleged misconduct of Mr. Bunn, who was counsel for respondent Northern Pacific Railway Company at the trial. The misconduct charged consisted in the following remark made by a said counsel to the court during the argument on motion for nonsuit:
“I want to say here that this is the second time in ten years where I have been in court to defend just such a similar case, and if the result of this case is as it must be, if the court will sustain my motion now or hereafter, I shall do my best, and I promise in the presence of my Maker to take care of her and her children for the rest of their life, and I have yet to have a recommendation in such a matter turned down at the St. Paul office.”
The remark was not made in the presence of the jury, the jury having withdrawn during the argument on the motion, and, in any event, the cause was not submitted to the jury. It is suggested, however, that the remark may have influenced the court to grant a nonsuit. The record does not show such to be the fact, and this court will not assume that a trial court has been improperly influenced by remarks of counsel. It is true, the remark was improper and should not have been made. If it had been made before a jury that afterwards passed upon the facts, a serious question of error might have arisen. The trial court determined the case upon the same evidence which has been reviewed by this court, and it has *9been determined here as well as below upon appellant’s evidence and not upon the remarks of counsel. Further argument upon this subject, made by appellant in connection with the next assignment of error, we shall mention below.
It is contended that the court reversed its own ruling upon the motion for nonsuit, that it erred in so doing, and that the result may have been induced by the remark of counsel above discussed, the remark having been made after the first ruling and before the last. So far as any effect of counsel’s remark upon the mind of the court is concerned, what we have said before sufficiently disposes of that subject. With reference to the ruling upon the motion for nonsuit, the record does show that immediately after the formal motion was made, the court announced that the motion would be denied. This was immediately followed, however, by extensive arguments upon the motion by counsel upon both, sides, the arguments appearing in the record. At the conclusion of the arguments, the court granted the nonsuit and discharged the jury. When its former announcement was called to the attention of the court, it remarked that it at first believed that the motion was merely formal, and for that reason the announcement was promptly made. The court did not err in its last ruling. After hearing the arguments of counsel, it was the duty of the court to consider the evidence as reviewed by counsel and, if it was convinced that a new trial would have to be granted if a verdict should be returned for appellant, it was its duty to grant the nonsuit. There was no judgment set aside. The court simply changed its mind as to the correctness of a mere oral announcement it had hurriedly made during the progress of the trial. If courts should not be permitted to correct such mistakes during a trial, before they have become merged into some formal order or judgment, useless protraction of litigation and unnecessary expense would result.
We find no reversible error, and the judgment is affirmed.
Mount, C. J., Fullerton, Dunbar, and Crow, JJ., concur.