Introduce queue iterator