Completed exercise 1.9