diagrams and use cases