finished logic for checklist