adding data synchronization