problem 31, 37