private void populateFilters() {
        //Populate gym filter
        getGyms().clear();

        //get all gyms
        Iterable<Entry> gymResultSet = MongoHelper.query("{id:{$gte:0}}", Gym.class, "gyms");

        if (gymResultSet != null) {
            //Iterate through gyms matching query
            for (Entry entry : gymResultSet) {
                //add gym name to name list and gym to gym list
                getGyms().add(((Gym) entry).getNickName());
                getGymList().add((Gym) entry);
            }

            //remove duplicates using hash
            HashSet hs = new HashSet();
            hs.addAll(getGyms());
            getGyms().clear();
            getGyms().addAll(hs);

            //sort gym names
            Collections.sort(getGyms());

            //add gyms to filter combo box
            locationjComboBox.addItem("Any");
            for (String gym : getGyms()) {
                if (UserSession.getDebug()) {
                    System.out.println("Adding gym to list: " + gym);
                }
                locationjComboBox.addItem(gym);
            }
        } 
        else {
        //No gyms exits
            locationjComboBox.addItem("No Gyms Available");
        }

        //add trainers
        //get all trainers from db
        Iterable<Entry> classRS = MongoHelper.query("{id:{$gte:0}}", TrainingClass.class, "trainingClasses");

        //get trainer from each class
        for (Entry trainingClass1 : classRS) {
            getTrainers().add(((TrainingClass) trainingClass1).getTrainer().getFirstName() + " " + ((TrainingClass) trainingClass1).getTrainer().getLastName());
            
            if (UserSession.getDebug()) {
                System.out.println(((TrainingClass) trainingClass1).getTrainer().getLastName());
            }
        }

        //remove duplicates using hash
        HashSet hs = new HashSet();
        hs.addAll(getTrainers());
        getTrainers().clear();
        getTrainers().addAll(hs);

        //sort trainers
        Collections.sort(getTrainers());

        if (UserSession.getDebug()) {
            System.out.println(getTrainers());
        }

        //Add default of any
        trainerjComboBox.addItem("Any");

        //fill combo box
        for (String trainer : getTrainers()) {
            if (trainer.equals(" ")) {
            //Compensate for empty trainer
                trainerjComboBox.addItem("Trainer TBD");
            } 
            else {
                trainerjComboBox.addItem(trainer);
            }
        }
    }