public static String createStateNameFromStatesList(List<String> states){
        if(states.isEmpty())
            return "";
        String result = states.get(0);
        if(states.size() >= 2){
            for(int i=1; i< states.size(); i++){
                result += "|" + states.get(i);
            }
        }
        return result;
    }