added Secretalphabet validation