:lipstick: implement train time search function