simplify data structure