revised class setting