rename the redirect function to stop collisions