forgot to set the variable scanner as the barcode scanner code