able to redirect to the result page