is this closer to the algorithm...