added validation feature to the table.