link entities together