Added constraints to avoid duplicates
create incoming references, ignore duplicates