changes to kern simulation