update of exercise_2_4