a train is traveling on a track