changed method name to #ai_move