Added QR functionality