passing results to page