added restore method for versions