removed global ai_move