added diagrams