buildRelationships working now