change connector template,so don't need subclass