added excercise 6