Improving the quality of schooling