added stuff to the task controller