Essay contest melds with teacher's requirement for student service