simplifying the parse of a table