added entities and their relationships