hw4 p1 complete