added exp QR function