add fields to task_t.