Solving the teacher shortage