starting to add function to generate a template