Move sync function