added replace_guess_functions_ keyword