improving the class diagram