add an algorithm Nov 25th