updated problem 43