basic stuff for syncing across devices