simplify problem data structure