some AI changes