changing classes of tables