setting up the results page