completed exercise 13-5