Completed exercise 1.1.c