Extracting atomic fuctions in MajorRankingAdapter