Ch2 exercise 2.