modification on template file