working on traveldistance in traininfo