added relationships between entities.