fixed duplicate score problem, but need to add logic for sorting scores