adding options to set the minimum threshold of uppper and lower triggers