allow input threshold at terminal