added diagrams model