non-binary threshold