polishing up qr code reading