work on diagrams