wrote about the algorithm for my own sanity
wrote about the algorithm for my own sanity