reactor logic change