threshold parameters added