the algorithm Knows