exercise 5.39