added sequence diagrams