dataSync code