Cognitive functioning in school