when to sync.