Possibility to set upper AND lower threshold