get_ranks_to_use to a method