fill in send func