added explanation problem 2