trying to get ai to work still