change send function