make proxyConfig a pointer