working on problem 61