how does lack of funding affect teachers