adds functionality for duplicate guesses