Fixed my personal functions. I had two of the same variables tha were changed.