added ability to talk to the server