doing some checking for existing rels