reimplemented onGuess() and replaced rounds with challenges'