Solve exercise 1.25