began adding option to tune threshold using arguments