Started the addRelationship() function