moved template to different file