a template based connector