fixed problem 43 solution