first version of contextual algorithm for contributed mementos