begin work on problem 31