Beginning to see how this algorithm is going to work