opening up the scanner