sequence and activity diagrams