threshold and petal reset