added adapter class diagram