add use/restore to demo