code for the QR