adding a removeRelation function