Added multiple algorithms.