Changed AI class