save, restore, and delete