work on initial sync