adding consensus thresholding, just skeletal for now