Improving educational outcomes while controlling costs