first full implementation of the result page