completed exercise 13-7