added scanner.scan