add exercise 5.2