Completed exercise 15-4