excercise 8 fixed