Final modi for guess_generation.