add srv send function