Add function to send data.