make different thresholds configurable...