-- new class diagram with functions.