Completed exercise 1.6