added teacher class