separated send logic to connector