removed memoization from ai