accommodation type done in a class