changed the diagram