maybe check if the array actually has the right tasks in them