added B to the task_t struct