New logic for synchronization.