Updated stopping method.