Completed exercise 21