The effect of deregulation on students and trainees