HW4 Part 1 accomplished