got AI working