changes to redirect