task list refactoring