Adding code for Proxy Pattern