working on issue with creatingrelationships in app.