problem 38, 39