added example of templating