@Override
    public ArrayList<String> getNames(char firstLetter, String session, boolean indexPeople) {
        //create list to store the names
        ArrayList<String> speakerList = new ArrayList<>();

        //loop through each member of specified session
        for (int i = firstLetter; i <= 'z'; i++) {
            try {
                //connect to the page of names for the given letter
                Document letterIndex = Jsoup.connect(firstMemberURL + session + lastMemberURL + (char) i).get();

                //get all the names
                Elements speakers = letterIndex.select("dd");

                //extract the names and store int the array
                for (Element speaker : speakers) {
                    String name = speaker.text();

                    //format the name
                    name = name.toUpperCase();

                    //if there are parens at end of name, remove them
                    if (name.indexOf("(") > 0) {
                        name = name.substring(0, name.indexOf("("));
                    }

                    speakerList.add(name);

                    if (indexPeople) {
                        //create a new Person and add the list for later use
                        Speaker newSpeaker = new Speaker(name);

                        //set the speaker's url
                        newSpeaker.setURL(domain + speaker.select("a").attr("href"));

                        //add to the list
                        searchedSpeakers.put(name, newSpeaker);
                    }
                }

            } catch (IOException ex) {
                System.out.println(firstMemberURL + session + lastMemberURL + (char) i);
                System.out.println("Error on letter index");
            }
        }
        return speakerList;
    }