private TeamMember findPlayer(String name, String number, TeamMember defaultReturn) {
        TeamMember playerToFind = new Player(name, "Team", number, "age");
        for (Player player : players) {
            if (player.equals(playerToFind)){
                return player;
            }
        }
        return defaultReturn;
    }