added activity diagrams