auto buying the train ticket