HW7_exercise