add silk_diamond function to the module