thresholds working in app