add ranking feature.