iterating in BasicRanker