refactoring, deletion of tasks list