Added memento pattern