Implemented restore method