add minimum score parameter and implementation