got the scanner working