a train is gliding on a rail