added explanation for excercise 3