use threshold range