using diamond resouce