add a function of Diamond with Name