"Printing the teacher functionality"