some more updates to code qso_var