make it possible to enter more than one threshold