template addition