First attempt to wrap barcode scanning