problem 1 solution added