additions to the scanner.