Teacher and student detention