added a templatetag system