On-the-job training for teachers