Made condition threshold value optional