add an algorithm Nov 28th