added template document