more ai logic