3 tasks are refactored