HW4 Part1-9