Complete extra credit for exercise 16.