solved problem 43
solved problem 43