a train is traveling on a rail track