a little bit of multiple thresholds