using task_id instead of int