change logic AI