Add code to show department and teacher of the class