add teacher to class