added guessing feature