minor changes in templat