add new tag using template instead of code