finished excercise 39