add memento design pattern