updated lazy_proxy example code to use the new optional arguments