logic change