AI in entityClass

doesn't work yet