adding tri classes diagram