docs for sync