Going to not do that for now, because task isn't a needed variable (just the length of task xml is important for the loop, not what's in it).