Completed exercise 10