use lambdas to help object proxying