solution is checked for correctnes and the result is rendered