initial revision of template