some more changes in the AI