complete exercise_7.6