finished problem 38