working on scan queue