working on scan