Preperation of the results page