Completed exercise 15-5