jh - modified AI