public static String generate() {
        String[] vowel = {"A", "E", "I", "O", "U", "Y"};
        String[] consonant = {"B", "C", "D", "F", "G", "H", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "V", "W", "X", "Z"};
        String randName = "";
        Random rnd = new Random();
        int nameLength = rnd.nextInt(10) + 3;
        int vowels = rnd.nextInt(2) + 1;
        int consonants = rnd.nextInt(2) + 1;
        boolean flag;//false - cons turn, true - vowel turn

        if (rnd.nextBoolean()) {
            randName += consonant[rnd.nextInt(consonant.length)];
            flag = true;
        } else {
            randName += vowel[rnd.nextInt(vowel.length)];
            flag = false;
        }

        while (randName.length() < nameLength) {
            if (flag) {
                for (int i = 0; i < vowels; i++) {
                    randName += vowel[rnd.nextInt(vowel.length)].toLowerCase();
                }
            }
            if (!flag) {
                for (int i = 0; i < consonants; i++) {
                    randName += consonant[rnd.nextInt(consonant.length)].toLowerCase();
                }
            }
            flag = !flag;
        }
        return randName;
    }