add option to generate full example or not