what's the advantage of iterating over the entire queue when we really only want a subset