formatting of problem 98 solution