restoring relationships