using diamond

updating the code to use diamond resources.