v1 for sample code to use data sync