adding task controller