added check if Relation exists