updated problem 1 solution