added parts of task_create