Tuning thresholds better