finishes exercise 2 of section 3