What it takes to keep children in school