modify stopping rule