HW3 part 1