How to use the scanner