class memento