finally adding restore capability, albeit limited