A code guide to generate