init cayley code introduction