Add exercise 2.39