working on  synchronization