changed scanner name to myScanner