Added new algorithm.