added qRank and MAP