added template and underscore