REFACTOR BRANCH TASK.H