completed exercise 13-4