state restoration part 2