added sample-code of proxy