Solve exercise 2.69