adding changes in the variables in MajorRankingAdapter class