potentially fixes #84 but needs verification of teacher_of