tutorial 2: use template.
Merge pull request #1 from winsty/devel

tutorial 2: use template.