mv save and restore instance state to base class