Completing exercise 1.19