add exercise 3.10