finished part 1 A