Modify scanner created scanner class, playing around with scanner class. it includes the function to scan.