add an algorithm Nov 26th