add option to wipe/resync