complete exercise 24