Updated baseAI