adding support for simple Lambda functions.