add minScore option