create task from header