client to send data