completed problem 82 and 83