Adding restore feature