a new mixGuess function added