added template tags.