added getJourney function