qr handeling