add an algorithm Nov 27th