added subclass teacher