new logic of historical syncing