Scanner how does it work