add logic to newRelationship, working on tests