change the front of the train into the rear