I already get the two arrays I need, I just don't get the state of the task.