added Resolved Tasks to logic