playing with threshold