added excercise 3