new version of class diagram