sync map example