setting the destination for redirecting