added example of qrCode with and without loops