Added split case for AI