added redirect capability back in