Added comment regarding AI logic