add params passable to algorithm.