finished problem 82