get_players method refactor