sending to server works