started code to handle journey result pages