added excercise 8