added relationships with entities