HW2 part 1 completed