added the template using underscore