complete exercise 18