Added custom ranking