simplifying the proxy server