implementation of JourneyPlanner interface