Completed exercise 16-2