trying to get barcode scanner working