start of restore feature 2