decreased threshold and added nplayers to theshold value