Fix typo
Add tag example
Move all variable declarations to the top of the block
Merge pull request #2153 from mekishizufu/tag_example

Add a tag example