Sometimes attending school causes learning to take place