Factors affecting school funding