add memento to dp