First work on removing show qr, and the new generate