hw2 p3 redirect 2