Added vectorized send code