Solve excercise 1