initial go at redirection working