added redirecting to results