complete exercise 6