How a train turns