start of restore feature 4