move variable declarations to the end of class (usually after UpdateAI here) - this goes for all AI classes you added, not just this one