changed min threshold