added relational diagram