closer to an algorithm