clean up
added example to show qrcode working