added teachers code