trying to send data to server