added setLocalUid