Class Diagram and StateChart Diagram