add cayley support