public void generateParentsTree(String current){
        int rank = fullGenreList.get(current).getRank();

        if(rank ==0)
        {
            return;
        }
        else {

                int max = 0;
                List<String> parents = new ArrayList<String>();
                for (String keys : fullGenreList.get(current).getMinimalList())
                {
                	
                    if (fullGenreList.get(keys)!= null && fullGenreList.get(keys).getRank() == max){
                        parents.add(keys);
                    }
                    else if(fullGenreList.get(keys)!= null && fullGenreList.get(keys).getRank() > max){
                        if(fullGenreList.get(keys).getRank() < fullGenreList.get(current).getRank()){
                            max = fullGenreList.get(keys).getRank();
                            parents = new ArrayList<String>();
                            parents.add(keys);
                        }
                    }
                }
            for (String key : parents){
                fullGenreList.get(key).addChild(fullGenreList.get(current));
            }
                //generate loop through current's minimal list and compare ranks of the genre's add current as the child of the highest rank genre
        }



    }