refactor to the default template