add exercise 39