Completed exercise 17