possible to select raising/descending threshold