add function for finding top ranked ips