chapter 0. exercise 3