set default threshold to 1