floor logic change