also look at the floored logic of this procedure