allow us to choose between 'and', 'or' operators in threshold checker