add an algorithm, Oct 14th