refactor to add position rankings