hook up to the server