Fixed example for "generate"