got the distance(miles) & time(mins) to go into the right row