complete exercise 2.3