Currently debugging AI implementation