formatting for problem 19