simplify problem 19