redirection method working