added QueryRank