adding in a diagram resources as well.