add syncing lock