moved lunch_coverage logic from view to model