using a proxy object