The effect of attending school is to learn