Passing allTasks list