Creating and using a simple template