trying to get AI working