added diagrams example