got the AI to work