Added sample to do barcode scanning