explanation for problem 5