cleaning up some code and refamiliarizing myself.