done operator exercise 3-7, 3-8