working on problem 43