fixed #12: added template document