my approach was getting to complicated odd to keep track of, plus helper functions that seemed to exist just to have them. i removed all that code and wrote a doc string explaining how the program should work first. next step is to translate that to python for a much cleaner approach.