teacher class attribute removed