proposed improvements to proxy example