Structure for RankCalculator