second and third parts done