working on thresholdDataOR