Schools receive $40,000 in gifts