relative ranking implemented