Correct example for restore method