State spending on corrections and education