added QR support