Further Further work on gen new qr