problem 3 - solved