made results page dynamic