The role of environmental factors in the education of African pupils