added average rank feature