use a template to render the widget so it is easy to customize in a project