Training students in research