added gaa and changed qfind to qf