using diamond