How to generate a recipe