implement autosync structure