format results page