Completed exercise 7