Over 40,000 teachers to benefit