working prototype with results page