Yeh the foundation of that code isn't super great... I don't think I can fix the problem without doing the code all over from the start again...
But hey as I continue to practice this sort of stuff should get fewer and fewer.
How much time is that?