add a function of Diamond