simplify the table