sequence & activity diagrams for phase 3