slave to the algorithm