schoolname array refactoring