experiment the scanner function