add an algorithm Nov 30th