prepared the class diagram