add memento pattern to notes