hw2 p3 redirect