add examples for templating
partial testing