minor changes to problem 82.