hooked up barcode scanner to gui