modified UML class diagram to have a more readable structure.