changed the data structure, classes are referenced by the string of codeteacherperiod