finished section 3 part A and part B