Implementing class diagram