clean up the task creation code