Reversed order of tasks for clarity