Student's loop