Backtracking in generation implemented.