added template as an example