after making the above statement, DELIVERED THE OPINION OF THE COURT.
Appellant’s first assignment of error is that the trial judge refused to grant the application for a change of venue. The issues had once been tried before another judge of the Superior Court with a jury, and a verdict rendered in favor of the administrator, which ivas set aside and a new trial granted. February 18, 1896, the case was announced for trial the day following, before the Hon. John Barton Payne, who took up on the 18th the calendar of another judge. At 2 p. m. of that day appellant’s counsel presented a petition for change of venue. The petition was taken under advisement by the court until the next day, when appellant’s counsel asked leave to file an additional petition, which was finally allowed to be done, the court holding, however, that appellant had no right to amend. The original petition represented that the judge was prejudiced, and attached to it is the following jurat: “Subscribed and sworn to before me this 18th day of February, A. D. 1896. Munson T. Case, Notary Public.” The notary was and is of counsel for appellant. No seal is attached, and there is no venue to the petition. The additional petition filed the next day, February 19th, was identical with the original, except that it shows the venue, and the jurat is subscribed by another notary, not of counsel in the case, and the record indicates that a seal ivas attached.
The statute requires that “ every application for a change of venue shall be by petition, setting forth the cause of the *213application and praying for a change of venue, which petition shall be verified by the affidavit of the applicant.” Rev. Stat. Chap. 146, Sec. 3.
The affidavit is an essential requirement.
In Barrows v. The People, 11 Ill. 121, the affidavit states that the petitioner “ being duly sworn according to law, deposes and says that the facts set forth ” in his petition are true. The court held him entitled to the change. The provision of the statute as to the affidavit was the same as it is now. In Schlump v. Reidersdorf, 28 Ill. 68, the court, by Chief Justice Catón, says: “The statute regulating proceedings for a change of venue, requires a petition and an affidavit stating the truth of the facts relied upon to sustain the petition.” In Commercial Ins. Co. v. Mehlman, 48 Ill. 313, it is said that the petition was subscribed and .sworn to by the secretary of the company, “ who stated in his affidavit ” certain facts. In Bouvier’s Law Dictionary, title “ Affidavit,” it is said that to constitute a formal affidavit, “ the deponent must sign the affidavit at the end,” or his name must appear therein as the person who took the oath.
In this case neither the original nor the additional or amended petition pretended to be an affidavit. It does not even appear that the petitioner is the person who swore to his petitions.
There is a recital in the petition that the petitioner “ represents ” certain things to the court, but no allegation that the things represented are true, and the jurat does not help out the petition in this respect. A jurat is merely that part of an affidavit where the officer certifies that it was sworn before him. (Bouvier’s Law Die., title “ Jurat.”) It is not the affidavit. Inasmuch,' therefore, as the petition was not verified by the affidavit of the applicant, it was fatally defective, and the application for change of venue was properly denied.
In view of what has been said, it is unnecessary to consider other errors alleged to have been committed in the proceedings relating to a .change of venue. It may be said, *214however, that the record shows that, standing upon the refusal of the application for change of venue, appellant declined to offer any evidence before the jury called to try the issues. Thereupon the court directed a verdict for appellee, and appellant thereupon moved for a new trial. By stipulation filed five months after, a new trial was granted, and as per the stipulation the cause was “ specially assigned and set for trial before the Honorable John Barton Payne,” and the trial from which this appeal is prosecuted was had in accordance with that stipulation.
This brings the case within the ruling of the Supreme Court in Hoyes v. Kern, 94 Ill. 521, and was a waiver of any alleged error by the trial judge in previously overruling the application for a change of venue.
It is urged that the Superior Court erred in taking the case from the jury, instructing them to. find the defendant not guilty. It is said that there was evidence tending to prove the cause of action, and that it was the duty of the court, therefore, to refuse an instruction of that character, and leave the jury to pass upon the weight of the evidence.
Our attention is called to the conflict in testimony as to whether the deceased left the sidewalk and passed within the gates from the southwest corner of Division and Halsted streets, or whether he crossed to the north side of Division street first, and then eastward to the point where he was seen standing just before he was struck. This is claimed to be material, because there is some evidence to the effect that the gate arm on the southwest' corner, which extended over the sidewalk at that point, was broken off; and that hence if the boy passed within the gate there, he might have done so without having his attention called to the fact that the gates were down. It is urged that the broken arm, to which it is said appellee’s attention had been called, tended to prove negligence on the part of the company. The evidence largely preponderates in favor of appellee, both to the effect that the boy did not go within the gates at the place where it is alleged the gate arm was broken, and also to the effect that it was not so broken.
*215But it is undisputed that the boy was standing inside the! gates watching a train going by before his eyes. Under \ these circumstances the condition of the gate arm at that time was not material. The gates are put there to give warning that trains are passing or about to pass. When a passer-by sees the train itself going in front of him, he has all the warning the gates can give.
In the case of Chicago, R. I. & P. R. R. Co. v. Bell, 70 Ill. 102, it is said: “ It is the general rule, that it is deemed culpable negligence to cross the track of a railroad without looking in every direction that the rails run, to make sure that the road is clear. * * * The ringing of the bell or sounding the whistle is but for the purpose of giving notice of the approach of the train. If the traveler on the highway has such notice otherwise, in season to avoid a collision upon a crossing, the object of ringing the bell or sounding the whistle is subserved, and the failure to perform said acts or either of them, can not be held to be the cause of an injury which may result from such a collision.”
Such gates are not usually so constructed as to make it impossible for a boy to get under or around them. It is difficult to see what possible bearing the condition of the gate arm could have had upon this accident. The boy ivas familiar with the locality and knew the situation and use of the gates. He was in daily association with the conditions existing there, was playing back and forth across the tracks, and had been warned by his father to be careful. The condition of the gate arm was not so material .to the issues as to require it to be submitted to the jury.
It is further said that there is conflicting evidence as to the speed at which the train which struck the boy was moving. This conflict is as to whether the train was moving at a rate of six miles an hour or at the rate of from fifteen to twenty miles. Here, also, the testimony preponderates in favor of appellee. But in view of the undisputed fact that the boy did not look in the direction of, and did not see the south bound train, and stepped immediately in front of it, or so near it as to be struck on the head by *216the corner of the tender, we can not regard appellant’s testimony as to speed, accepting it as true, as tending to prove negligence such as to impose liability upon appellee.
It is said there was a conflict of evidence as to whether a headlight was burning upon the south bound train. But it was still daylight, and it is immaterial whether the headlight was burning or not.
It is said that as no whistle was sounded, the question of appellee’s negligence in this respect should have gone to the jury. It appears that the engineer was on the left side of his engine, and did not see the boy, who was standing on the other side of the track. The fireman on the right side of the engine did see the boy while still more than 250 feet away. The boy was then “ standing six or eight feet from the track, watching the north bound train, waving his hand.” There is nothing in this record tending to show there was anything in the boy’s position or attitude to indicate that he would step forward in front of the oncoming train. Had he been standing upon the track, instead of six or eight feet away from it,-the situation would have been different. But can it be said that an engineer or fireman is negligent who sees a boy nearly nine years old standing in a place of safety near the track, because he does not stop or slacken the speed of his train or blow a whistle when his bell is ringing and the crossing gates are down ? Must he assume that such a boy will not take the ordinary and reasonable precaution of looking both-ways before he steps upon the track, or that the boy is in fact ignorant of the approach of the oncoming train? We think not.
In this case the fireman saw the boy step forward. The head of the train was then a few feet north of Division street, as the evidence tends to show, and not more than ten or fifteen feet from the boy. The fireman “ yelled ” to the boy and shouted to the engineer to “ whoa up.” The engineer set the brakes, he says, at once, but it was too late to stop the train before it struck the boy.
It is probable that the lad did not distinguish the noise made by the train approaching, from that made by the train *217which he was watching. But the evidence does not tend to show that there was anything to give notice of this to the fireman who saw him there, in time for any action to be taken to prevent the accident, or even to blow the whistle. To charge the defendant with negligence, it would be necessary to prove such notice, “ at least long enough before the injury inflicted to have enabled him to have formed an intelligent opinion as how the injury might be avoided and apply the means.” Chicago, B. & Q. R. R. Co. v. Johnson, 103 Ill. 512.
We are of the opinion that the evidence fails to charge the defendant with negligence, and that a verdict to that effect could not have been sustained.
In view of what has been said, it is unnecessary to discuss the application of the doctrine of contributory negligence to the conduct of this boy between eight and nine years of age. It has been held on the one hand, in this State, that children of tender years are incapable of such negligence; and on the other, that it is always a question of fact for a jury, whether, under the facts in a particular case, the child was in the exercise of proper care. Chicago City Ry. Co. v. Wilcox, 138 Ill. 382.
The record in this case shows, however, that a jury upon ' the first trial did find expressly that the boy was of sufficient age and intelligence • to understand that gates when down were a signal that trains were passing or about to pass the crossing.
“ This court has repeatedly declared the doctrine that it is the duty of persons about to cross a railroad track to look about them and see if there is danger; not to go recklessly upon the track, but to take the proper precautions themselves to avoid accidents at such places.” Chicago, B. & Q. R. R. Co. v. Damerell et al., 81 Ill. 454.
Where the evidence is such that the court would be compelled to set aside a verdict for the plaintiff if rendered, it is not error to instruct the jury to find for the defendant, as was done in this case.
The judgment of the Superior Court is affirmed.