EasyQr function