changed the table.class code