more debugging
added redirect