updated the exercise