updated redirection process