end sync