making some stuff work, trying to get the adjustStats function to do
stuff