working on problem 33