show how to generate yaml