adding the task controller