starting the AI