codes for the student module