new option binary threshold added