added the diagrams