First version with qr code