class diagram refined