working memory algorithm, with results.