Forgot to commit early. Pretty sure I got everything working. Stupid off by one
Everything is working. Need to work on expanding this into a program