Added function to display the template